From 954f5f87f9a83680e2917d5cfc43a517c4726dff Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Mon, 10 Apr 2023 13:25:44 +0100 Subject: [PATCH] chore: update plugins - Update plugins - Disable unsupported lua lsp config --- nvim/lua/plugins/config/lsp.lua | 60 ++++++++++++++++----------------- nvim/lua/plugins/init.lua | 10 +++--- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/nvim/lua/plugins/config/lsp.lua b/nvim/lua/plugins/config/lsp.lua index a267b8d..11dbb57 100644 --- a/nvim/lua/plugins/config/lsp.lua +++ b/nvim/lua/plugins/config/lsp.lua @@ -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, +--} diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index 281be84..19fb649 100644 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -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"), }