From ec625679986252986af154d9f0f7125881308338 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 16 Nov 2022 20:22:10 -0500 Subject: meow --- .config/nvim/lua/getchoo/lsp/config/lsp_config.lua | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to '.config/nvim/lua/getchoo/lsp/config/lsp_config.lua') 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 -- cgit v1.2.3