diff --git a/lua/nvim-lspconfig.lua b/lua/nvim-lspconfig.lua index d8e2f59..2ab7201 100644 --- a/lua/nvim-lspconfig.lua +++ b/lua/nvim-lspconfig.lua @@ -36,7 +36,7 @@ function on_attach(client) end local lspconf = require "lspconfig" -local servers = {"html", "cssls", "tsserver", "pyright", "bashls"} +local servers = {"html", "cssls", "tsserver", "pyright", "bashls", "vls"} for k, lang in pairs(servers) do lspconf[lang].setup { @@ -44,6 +44,11 @@ for k, lang in pairs(servers) do } end +local vls_binary = '/usr/local/bin/vls' +require'lspconfig'.vls.setup { + cmd = {vls_binary}, +} + -- lua lsp settings USER = "/home/" .. vim.fn.expand("$USER") diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 2758cb9..26d7a2d 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -9,6 +9,7 @@ return require("packer").startup( -- color related stuff use "siduck76/nvim-base16.lua" use "norcalli/nvim-colorizer.lua" + -- use "ollykel/v-vim" -- v syntax highlighter -- lsp stuff use "nvim-treesitter/nvim-treesitter" @@ -42,6 +43,10 @@ return require("packer").startup( use "karb94/neoscroll.nvim" use "kdav5758/TrueZen.nvim" + -- discord rich presence + --use "andweeb/presence.nvim" + + use {"lukas-reineke/indent-blankline.nvim", branch = "lua"} end ) diff --git a/lua/top-bufferline.lua b/lua/top-bufferline.lua index 31865d2..d5680d6 100644 --- a/lua/top-bufferline.lua +++ b/lua/top-bufferline.lua @@ -73,5 +73,5 @@ map("n", "", [[tabnew]], opt) map("n", "", [[bdelete]], opt) -- tabnew and tabprev -map("n", "", [[BufferLineCycleNext]], opt) -map("n", "", [[BufferLineCyclePrev]], opt) +map("n", "", [[BufferLineCycleNext]], opt) +map("n", "", [[BufferLineCyclePrev]], opt) diff --git a/lua/treesitter-nvim.lua b/lua/treesitter-nvim.lua index cebde4f..369bcf0 100644 --- a/lua/treesitter-nvim.lua +++ b/lua/treesitter-nvim.lua @@ -9,8 +9,6 @@ ts_config.setup { "lua", "json", "python" - -- "cpp", - -- "rust", }, highlight = { enable = true,