chore: update plugins
- Update plugins - Disable unsupported lua lsp config
This commit is contained in:
parent
e92cf5bdb3
commit
954f5f87f9
2 changed files with 35 additions and 35 deletions
|
@ -94,33 +94,33 @@ lspconfig.pylsp.setup{
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Lua
|
-- Lua
|
||||||
local sumneko_root_path = vim.fn.expand('$HOME') .. "/Git/github.com/sumneko/lua-language-server"
|
--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"
|
--local sumneko_binary = sumneko_root_path .. "/bin/Linux/lua-language-server"
|
||||||
|
--
|
||||||
lspconfig.sumneko_lua.setup {
|
--lspconfig.sumneko_lua.setup {
|
||||||
on_attach = custom_attach,
|
-- on_attach = custom_attach,
|
||||||
cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
|
-- cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
|
||||||
settings = {
|
-- settings = {
|
||||||
Lua = {
|
-- Lua = {
|
||||||
runtime = {
|
-- runtime = {
|
||||||
-- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
|
-- -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
|
||||||
version = 'LuaJIT',
|
-- version = 'LuaJIT',
|
||||||
-- Setup your lua path
|
-- -- Setup your lua path
|
||||||
path = vim.split(package.path, ';')
|
-- path = vim.split(package.path, ';')
|
||||||
},
|
-- },
|
||||||
diagnostics = {
|
-- diagnostics = {
|
||||||
-- Get the language server to recognize the vim and awesome globals
|
-- -- Get the language server to recognize the vim and awesome globals
|
||||||
globals = {'vim', 'awesome'}
|
-- globals = {'vim', 'awesome'}
|
||||||
},
|
-- },
|
||||||
workspace = {
|
-- workspace = {
|
||||||
-- Make the server aware of Neovim runtime files
|
-- -- Make the server aware of Neovim runtime files
|
||||||
library = vim.api.nvim_get_runtime_file("", true),
|
-- library = vim.api.nvim_get_runtime_file("", true),
|
||||||
},
|
-- },
|
||||||
telemetry = {
|
-- telemetry = {
|
||||||
-- Do not send telemetry data containing a randomized but unique identifier
|
-- -- Do not send telemetry data containing a randomized but unique identifier
|
||||||
enable = false,
|
-- enable = false,
|
||||||
},
|
-- },
|
||||||
}
|
-- }
|
||||||
},
|
-- },
|
||||||
flags = lsp_flags,
|
-- flags = lsp_flags,
|
||||||
}
|
--}
|
||||||
|
|
|
@ -7,31 +7,31 @@ return require("packer").startup(function(use)
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
tag = "v1.0.0", -- 2023-01-04
|
tag = "v1.10.0", -- 2023-03-23
|
||||||
config = require("plugins.config.tokyonight"),
|
config = require("plugins.config.tokyonight"),
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
commit = "ed88435764d8b00442e66d39ec3d9c360e560783", -- 2023-01-14
|
commit = "10fa01d553ce10646350461ac5ddc71f189e9d1a", -- 2023-04-10
|
||||||
config = require("plugins.config.lsp"),
|
config = require("plugins.config.lsp"),
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
commit = "372177fb996b7d94246fd214cc44573116704618", -- 2023-01-14
|
commit = "cc360a9beb1b30d172438f640e2c3450358c4086", -- 2023-04-10
|
||||||
config = require("plugins.config.treesitter"),
|
config = require("plugins.config.treesitter"),
|
||||||
run = ":TSUpdate",
|
run = ":TSUpdate",
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
commit = "6c38926351372ea87034dec26182b62c835ff3bc", -- 2023-01-09
|
commit = "f16ec8f6e5d23e4349501dae46e0a661918e086e", -- 2023-04-08
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"akinsho/bufferline.nvim",
|
"akinsho/bufferline.nvim",
|
||||||
tag = "v3.1.0", -- 2022.10.28
|
tag = "v3.6.0", -- 2023.03.30
|
||||||
requires = "nvim-tree/nvim-web-devicons",
|
requires = "nvim-tree/nvim-web-devicons",
|
||||||
config = require("plugins.config.bufferline"),
|
config = require("plugins.config.bufferline"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue