diff --git a/flake.nix b/flake.nix index 14a1054..db27f22 100644 --- a/flake.nix +++ b/flake.nix @@ -15,10 +15,8 @@ nativeBuildInputs = [ pkgs.alejandra pkgs.ccls - pkgs.clang pkgs.luaformatter pkgs.nixd - pkgs.nixd pkgs.pyright pkgs.rust-analyzer pkgs.sumneko-lua-language-server diff --git a/nvim-lsp.nix b/nvim-lsp.nix index 5075bc7..9223674 100644 --- a/nvim-lsp.nix +++ b/nvim-lsp.nix @@ -17,10 +17,10 @@ parsers.nix parsers.python parsers.query + parsers.rust parsers.verilog parsers.vimdoc parsers.zig - parsers.rust ])) cmp-buffer cmp-cmdline diff --git a/vimrc.lua b/vimrc.lua index 1c5abe0..a0ba8f7 100644 --- a/vimrc.lua +++ b/vimrc.lua @@ -25,13 +25,8 @@ if vim.fn.isdirectory(parser_install_dir) == 0 then vim.fn.mkdir(parser_install_dir, "p") end -- Adding runtime needed for Nix setup on non NixOS -vim.o.runtimepath = vim.o.runtimepath .. "," .. parser_install_dir - -require 'nvim-treesitter.install'.compilers = { 'gcc' } require 'nvim-treesitter.configs'.setup { - ensure_installed = { "c", "cpp", "zig", "python", "verilog", "nix", "lua", "latex" }, - parser_install_dir = parser_install_dir, highlight = { enable = true, disable = {} }, indent = { enable = false, disable = {} }, rainbow = {