diff --git a/programs/nvim.nix b/programs/nvim.nix index 94fbed5..6337d14 100644 --- a/programs/nvim.nix +++ b/programs/nvim.nix @@ -27,7 +27,6 @@ {plugin = editorconfig-nvim;} {plugin = fugitive;} {plugin = lsp-trouble;} - {plugin = nvim-autopairs;} {plugin = rust-vim;} {plugin = tabular;} {plugin = vim-nix;} @@ -70,6 +69,11 @@ ''; } + { + plugin = nvim-autopairs; + config = "lua require 'nvim-autopairs'.setup {}"; + } + { plugin = nvim-lspconfig; config = let @@ -119,13 +123,15 @@ tree-sitter-rust tree-sitter-toml ]); - config = builtins.replaceStrings ["\n"] [""] '' - lua require 'nvim-treesitter.configs'.setup { - highlight = { - enable = true, - additional_vim_regex_highlighting = false, - }, - } + config = '' + lua <