diff options
author | Yigit Sever | 2023-09-13 01:12:34 +0300 |
---|---|---|
committer | Yigit Sever | 2023-09-13 01:17:04 +0300 |
commit | 532d8b4f12207e419b5e63c0c4a30027caa223c0 (patch) | |
tree | 42c0940b65e63c1c8ed2088a26c8fa5cc5152476 /.config/nvim/lua/plugins | |
parent | 3eb4bbbfd293d4e4f697ee149e3d7779a7abdb7d (diff) | |
download | dotfiles-532d8b4f12207e419b5e63c0c4a30027caa223c0.tar.gz dotfiles-532d8b4f12207e419b5e63c0c4a30027caa223c0.tar.bz2 dotfiles-532d8b4f12207e419b5e63c0c4a30027caa223c0.zip |
nvim: remove mason.nvim
Diffstat (limited to '.config/nvim/lua/plugins')
-rw-r--r-- | .config/nvim/lua/plugins/lsp.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index d8bf2f7..6ddab1c 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua | |||
@@ -2,8 +2,6 @@ return { | |||
2 | { | 2 | { |
3 | "neovim/nvim-lspconfig", | 3 | "neovim/nvim-lspconfig", |
4 | dependencies = { | 4 | dependencies = { |
5 | "williamboman/mason.nvim", | ||
6 | "williamboman/mason-lspconfig.nvim", | ||
7 | "j-hui/fidget.nvim", | 5 | "j-hui/fidget.nvim", |
8 | "folke/neodev.nvim", | 6 | "folke/neodev.nvim", |
9 | "RRethy/vim-illuminate", | 7 | "RRethy/vim-illuminate", |
@@ -16,19 +14,6 @@ return { | |||
16 | map('n', '[d', vim.diagnostic.goto_prev, "lsp: goto previous diagnostic") | 14 | map('n', '[d', vim.diagnostic.goto_prev, "lsp: goto previous diagnostic") |
17 | map('n', ']d', vim.diagnostic.goto_next, "lsp: goto next diagnostic") | 15 | map('n', ']d', vim.diagnostic.goto_next, "lsp: goto next diagnostic") |
18 | 16 | ||
19 | -- set up mason before anything else | ||
20 | require("mason").setup() | ||
21 | require("mason-lspconfig").setup({ | ||
22 | ensure_installed = { | ||
23 | "lua_ls", | ||
24 | "pylsp", | ||
25 | }, | ||
26 | automatic_installation = true, | ||
27 | }) | ||
28 | |||
29 | -- quick access via keymap | ||
30 | require("helpers.keys").map("n", "<leader>M", "<cmd>Mason<cr>", "show mason") | ||
31 | |||
32 | -- neodev setup before lsp config | 17 | -- neodev setup before lsp config |
33 | require("neodev").setup() | 18 | require("neodev").setup() |
34 | 19 | ||