Corrections

This commit is contained in:
Salar Rahmanian 2021-07-14 08:05:03 -07:00
parent 3f3d67042c
commit 8b96d874c9

View file

@ -32,7 +32,7 @@ end
_G.load_config = function() _G.load_config = function()
require('nvim-autopairs').setup() require('nvim-autopairs').setup()
require("which-key").setup() require('which-key').setup()
require('gitsigns').setup() require('gitsigns').setup()
require("salargalaxyline") require("salargalaxyline")
@ -209,7 +209,6 @@ _G.load_config = function()
nvim_lsp[lsp].setup { on_attach = on_attach } nvim_lsp[lsp].setup { on_attach = on_attach }
end end
-- lua language server -- lua language server
local sumneko_binary = vim.fn.getenv("HOME").."/.nix-profile/bin/lua-language-server" local sumneko_binary = vim.fn.getenv("HOME").."/.nix-profile/bin/lua-language-server"
local runtime_path = vim.split(package.path, ';') local runtime_path = vim.split(package.path, ';')
@ -219,7 +218,6 @@ table.insert(runtime_path, 'lua/?/init.lua')
require('lspconfig').sumneko_lua.setup { require('lspconfig').sumneko_lua.setup {
cmd = { sumneko_binary }, cmd = { sumneko_binary },
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities,
settings = { settings = {
Lua = { Lua = {
runtime = { runtime = {