niksos/homes/jacek/tui/neovim/default.nix
2023-07-13 12:49:20 +02:00

116 lines
3.3 KiB
Nix

{
config,
inputs,
pkgs,
...
}: {
xdg.configFile."nvim" = { source = ./lua; recursive = true; };
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withPython3 = true;
#plugins = {
# plenary-nvim.enable = true;
# fugitive.enable = true;
# airline = {
# enable = true;
# powerline = true;
# theme = "gruvbox";
# };
# treesitter = {
# enable = true;
# grammars = [
# "bash"
# "c"
# "cmake"
# "comment"
# "cpp"
# "css"
# "git_config"
# "git_rebase"
# "gitattributes"
# "gitcommit"
# "gitignore"
# "html"
# "ini"
# "java"
# "json"
# "kotlin"
# "lua"
# "markdown"
# "markdown_inline"
# "meson"
# "ninja"
# "nix"
# "python"
# "regex"
# "ron"
# "rust"
# "sql"
# "toml"
# "typescript"
# "vim"
# "vimdoc"
# "wgsl"
# "yaml"
# ];
# };
# coq-nvim = {
# enable = true;
# autoStart = "shut-up";
# installArtifacts = true;
# recommendedKeymaps = true;
# };
# gitsigns = {
# enable = true;
# signcolumn = true;
# numhl = true;
# wordDiff = true;
# currentLineBlame = true;
# };
# lsp = {
# enable = true;
# coqSupport = true;
# servers = {
# bashls.enable = true;
# clangd.enable = true;
# cssls.enable = true;
# html.enable = true;
# kotlin-language-server.enable = true;
# ltex.enable = true;
# nil.enable = true;
# rust-analyzer.enable = true;
# };
# };
# telescope.enable = true;
# comment.enable = true;
#};
#mappings = {
#
#};
#options = {
# number = true;
# relativenumber = true;
# autoread = true;
# so = 7;
# cmdheight = 1;
# ignorecase = true;
# smartcase = true;
# showmatch = true;
# timeoutlen = 500;
# encoding = "utf8";
# smarttab = true;
# shiftwidth = 4;
# tabstop = 4;
# expandtab = true;
# linebreak = true;
# smartindent = true;
# updatetime = 300;
# hidden = true;
# background = "dark";
# mousemoveevent = true;
#};
};
}