diff options
| author | seth <[email protected]> | 2022-11-16 20:22:10 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2022-11-16 20:22:10 -0500 |
| commit | ec625679986252986af154d9f0f7125881308338 (patch) | |
| tree | 0babf95069bd29634e4e76588b255493401e9f86 /.config/nvim/lua/getchoo/lsp/config/lsp_config.lua | |
| parent | a1b2b3cb5840e08a851cec662ebcfa699cfbfa98 (diff) | |
meow
Diffstat (limited to '.config/nvim/lua/getchoo/lsp/config/lsp_config.lua')
| -rw-r--r-- | .config/nvim/lua/getchoo/lsp/config/lsp_config.lua | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/.config/nvim/lua/getchoo/lsp/config/lsp_config.lua b/.config/nvim/lua/getchoo/lsp/config/lsp_config.lua index 6b13d19..4df3fe0 100644 --- a/.config/nvim/lua/getchoo/lsp/config/lsp_config.lua +++ b/.config/nvim/lua/getchoo/lsp/config/lsp_config.lua @@ -4,35 +4,35 @@ local sources = require("getchoo.lsp.config.sources") local M = {} local on_attach = function(client, bufnr) - cmp.on_attach(client, bufnr) + cmp.on_attach(client, bufnr) end local all_config = { - capabilities = cmp.capabilities, - on_attach = on_attach, + capabilities = cmp.capabilities, + on_attach = on_attach, } local servers = {} for _, server in ipairs(sources.lsp_servers) do - servers[server] = all_config + servers[server] = all_config end servers["sumneko_lua"] = { - capabilities = cmp.capabilities, - on_attach = on_attach, - settings = { - Lua = { - runtime = { - version = "LuaJIT", - }, - diagnostics = { - globals = { "vim" }, - }, - workspace = { - library = vim.api.nvim_get_runtime_file("", true), - }, - }, - }, + capabilities = cmp.capabilities, + on_attach = on_attach, + settings = { + Lua = { + runtime = { + version = "LuaJIT", + }, + diagnostics = { + globals = { "vim" }, + }, + workspace = { + library = vim.api.nvim_get_runtime_file("", true), + }, + }, + }, } M.servers = servers |
