2023-11-28 11:41:19 -06:00
|
|
|
-- local function add_words()
|
|
|
|
-- local path = vim.fn.stdpath("config") .. "/spell/en.utf-8.add"
|
|
|
|
-- local words = {}
|
|
|
|
-- for word in io.open(path, "r"):lines() do
|
|
|
|
-- table.insert(words, word)
|
|
|
|
-- end
|
|
|
|
-- return words
|
|
|
|
-- end
|
|
|
|
--
|
2023-05-08 21:08:59 -05:00
|
|
|
return {
|
2023-05-28 16:22:25 -05:00
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
opts = {
|
|
|
|
servers = {
|
2023-11-28 11:41:19 -06:00
|
|
|
-- ltex = {
|
|
|
|
-- settings = {
|
|
|
|
-- ltex = {
|
|
|
|
-- dictionary = { ["en-US"] = add_words() },
|
|
|
|
-- },
|
|
|
|
-- },
|
|
|
|
-- },
|
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-08 21:08:59 -05:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|