lsp tinkering

main
spinach 2 years ago
parent 1e181e54d7
commit f1278db850

@ -46,10 +46,22 @@ vim.cmd([[
]])
-- language server setup
require('lspconfig').gopls.setup{}
require('lspconfig').clangd.setup{}
require('lspconfig').tsserver.setup{}
require('lspconfig').lua_ls.setup{}
require('lspconfig').rust_analyzer.setup{}
require('lspconfig').pylsp.setup{}
local lspconfig = require('lspconfig')
lspconfig.gopls.setup{}
lspconfig.clangd.setup{}
lspconfig.lua_ls.setup{
settings = {
Lua = {
diagnostics = { globals = { 'vim' } },
},
telemetry = {
enable = false,
},
},
}
lspconfig.rust_analyzer.setup{}
lspconfig.pylsp.setup{}
-- lsp mappingsd
vim.keymap.set('n', '<Leader>

Loading…
Cancel
Save