chore: update plugins

- Update plugins
- Disable unsupported lua lsp config
This commit is contained in:
Dan Anglin 2023-04-10 13:25:44 +01:00
parent e92cf5bdb3
commit 954f5f87f9
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
2 changed files with 35 additions and 35 deletions

View file

@ -94,33 +94,33 @@ lspconfig.pylsp.setup{
}
-- Lua
local sumneko_root_path = vim.fn.expand('$HOME') .. "/Git/github.com/sumneko/lua-language-server"
local sumneko_binary = sumneko_root_path .. "/bin/Linux/lua-language-server"
lspconfig.sumneko_lua.setup {
on_attach = custom_attach,
cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
settings = {
Lua = {
runtime = {
-- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
version = 'LuaJIT',
-- Setup your lua path
path = vim.split(package.path, ';')
},
diagnostics = {
-- Get the language server to recognize the vim and awesome globals
globals = {'vim', 'awesome'}
},
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
},
telemetry = {
-- Do not send telemetry data containing a randomized but unique identifier
enable = false,
},
}
},
flags = lsp_flags,
}
--local sumneko_root_path = vim.fn.expand('$HOME') .. "/Git/github.com/sumneko/lua-language-server"
--local sumneko_binary = sumneko_root_path .. "/bin/Linux/lua-language-server"
--
--lspconfig.sumneko_lua.setup {
-- on_attach = custom_attach,
-- cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
-- settings = {
-- Lua = {
-- runtime = {
-- -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
-- version = 'LuaJIT',
-- -- Setup your lua path
-- path = vim.split(package.path, ';')
-- },
-- diagnostics = {
-- -- Get the language server to recognize the vim and awesome globals
-- globals = {'vim', 'awesome'}
-- },
-- workspace = {
-- -- Make the server aware of Neovim runtime files
-- library = vim.api.nvim_get_runtime_file("", true),
-- },
-- telemetry = {
-- -- Do not send telemetry data containing a randomized but unique identifier
-- enable = false,
-- },
-- }
-- },
-- flags = lsp_flags,
--}

View file

@ -7,31 +7,31 @@ return require("packer").startup(function(use)
use {
"folke/tokyonight.nvim",
tag = "v1.0.0", -- 2023-01-04
tag = "v1.10.0", -- 2023-03-23
config = require("plugins.config.tokyonight"),
}
use {
"neovim/nvim-lspconfig",
commit = "ed88435764d8b00442e66d39ec3d9c360e560783", -- 2023-01-14
commit = "10fa01d553ce10646350461ac5ddc71f189e9d1a", -- 2023-04-10
config = require("plugins.config.lsp"),
}
use {
"nvim-treesitter/nvim-treesitter",
commit = "372177fb996b7d94246fd214cc44573116704618", -- 2023-01-14
commit = "cc360a9beb1b30d172438f640e2c3450358c4086", -- 2023-04-10
config = require("plugins.config.treesitter"),
run = ":TSUpdate",
}
use {
"nvim-tree/nvim-web-devicons",
commit = "6c38926351372ea87034dec26182b62c835ff3bc", -- 2023-01-09
commit = "f16ec8f6e5d23e4349501dae46e0a661918e086e", -- 2023-04-08
}
use {
"akinsho/bufferline.nvim",
tag = "v3.1.0", -- 2022.10.28
tag = "v3.6.0", -- 2023.03.30
requires = "nvim-tree/nvim-web-devicons",
config = require("plugins.config.bufferline"),
}