dotfiles/home/private_dot_config/nvim/lua/plugins/lsp.lua

29 lines
676 B
Lua
Raw Normal View History

2023-05-08 21:08:59 -05:00
return {
2023-05-28 16:22:25 -05:00
"neovim/nvim-lspconfig",
---@class PluginLspOpts
opts = {
---@type lspconfig.options
servers = {
2023-06-09 08:47:29 -05:00
pylsp = {
settings = {
pylsp = {
plugins = {
-- I'll do the formatting myself
autopep8 = { enabled = false },
mccabe = { enabled = false },
pycodestyle = { enabled = false },
pyflakes = { enabled = false },
yapf = { enabled = false },
ruff = {
enabled = true,
extendSelect = { "I" },
},
},
},
},
},
2023-05-28 16:22:25 -05:00
nim_langserver = {},
2023-05-08 21:08:59 -05:00
},
},
}