nix-config/home/vim/plugin/settings/lspconfig.vim

12 lines
211 B
VimL
Raw Normal View History

lua << EOF
local lsp = require("lspconfig")
local utils = require("ambroisie.utils")
-- Python
if utils.is_executable("pyright") then
lsp.pyright.setup({
on_attach = utils.on_attach,
})
end
EOF