diff --git a/.config/linux/system/module/common/Package.nix b/.config/linux/system/module/common/Package.nix index cd6a03e..0f31a60 100644 --- a/.config/linux/system/module/common/Package.nix +++ b/.config/linux/system/module/common/Package.nix @@ -21,6 +21,7 @@ lm_sensors lshw lsof + ltex-ls ncdu neovim nmap diff --git a/.config/nvim/lua/plugin/Init.lua b/.config/nvim/lua/plugin/Init.lua index e2be9bb..84d0e62 100644 --- a/.config/nvim/lua/plugin/Init.lua +++ b/.config/nvim/lua/plugin/Init.lua @@ -29,8 +29,6 @@ return require("packer").startup(function(use) use "https://git.voronind.com/mirror/gruvbox-material.git" use "https://git.voronind.com/mirror/indent-o-matic.git" use "https://git.voronind.com/mirror/lualine.nvim.git" - use "https://git.voronind.com/mirror/mason-lspconfig.nvim.git" - use "https://git.voronind.com/mirror/mason.nvim.git" use "https://git.voronind.com/mirror/mini.align.git" use "https://git.voronind.com/mirror/nvim-lspconfig.git" use "https://git.voronind.com/mirror/nvim-tree.lua.git" @@ -49,7 +47,6 @@ return require("packer").startup(function(use) -- Plugin setup. Order is important. require("plugin/Filetree") - require("plugin/Mason") require("plugin/lsp/Init") require("plugin/Bufferline") require("plugin/Lualine") diff --git a/.config/nvim/lua/plugin/Mason.lua b/.config/nvim/lua/plugin/Mason.lua deleted file mode 100644 index 3f024e4..0000000 --- a/.config/nvim/lua/plugin/Mason.lua +++ /dev/null @@ -1,2 +0,0 @@ -require("mason").setup() -require("mason-lspconfig").setup() diff --git a/.config/nvim/lua/plugin/lsp/Tex.lua b/.config/nvim/lua/plugin/lsp/Tex.lua index 617a778..bc0fb7a 100644 --- a/.config/nvim/lua/plugin/lsp/Tex.lua +++ b/.config/nvim/lua/plugin/lsp/Tex.lua @@ -58,7 +58,3 @@ end, { desc = "Set buffer type to auto." }) vim.api.nvim_create_user_command("SCInfo", function (args) vim.cmd("LspInfo") end, { desc = "Show info about spellcheck." }) - -vim.api.nvim_create_user_command("SCInstall", function (args) - vim.cmd("MasonInstall ltex-ls") -end, { desc = "Install spellcheck (requires Mason)." })