From 562bea6d1a56eefc6533e01a0ee05fc596a2af10 Mon Sep 17 00:00:00 2001 From: mTvare <57838468+mTvare6@users.noreply.github.com> Date: Thu, 6 May 2021 22:30:22 +0530 Subject: [PATCH 1/7] Update treesitter-nvim.lua --- lua/treesitter-nvim.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/treesitter-nvim.lua b/lua/treesitter-nvim.lua index cebde4f..7099955 100644 --- a/lua/treesitter-nvim.lua +++ b/lua/treesitter-nvim.lua @@ -9,8 +9,8 @@ ts_config.setup { "lua", "json", "python" - -- "cpp", - -- "rust", + "cpp", + "rust", }, highlight = { enable = true, From 24a9c1b98ab650ce9ff54cbf437a369de2b88b7d Mon Sep 17 00:00:00 2001 From: mTvare <57838468+mTvare6@users.noreply.github.com> Date: Thu, 6 May 2021 22:31:24 +0530 Subject: [PATCH 2/7] Update pluginList.lua --- lua/pluginList.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 2758cb9..bec25fa 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 -- 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 ) From 8d17b34fbe9e85c26d354d45e7551acebebebf0d Mon Sep 17 00:00:00 2001 From: mTvare <57838468+mTvare6@users.noreply.github.com> Date: Thu, 6 May 2021 22:32:19 +0530 Subject: [PATCH 3/7] Update top-bufferline.lua --- lua/top-bufferline.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) From 5359f95cedffc0d4e1bdcc6dc09b13584eeac93a Mon Sep 17 00:00:00 2001 From: mTvare <57838468+mTvare6@users.noreply.github.com> Date: Thu, 6 May 2021 22:34:12 +0530 Subject: [PATCH 4/7] Update nvim-lspconfig.lua --- lua/nvim-lspconfig.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/nvim-lspconfig.lua b/lua/nvim-lspconfig.lua index d8e2f59..7af96c3 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", "ccls", "rust_analyzer", "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") From 82d21e445cae07a187e77b1af29e500a45ed48e7 Mon Sep 17 00:00:00 2001 From: mTvare <57838468+mTvare6@users.noreply.github.com> Date: Thu, 6 May 2021 22:44:25 +0530 Subject: [PATCH 5/7] Update pluginList.lua --- lua/pluginList.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/pluginList.lua b/lua/pluginList.lua index bec25fa..26d7a2d 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -9,7 +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 + -- use "ollykel/v-vim" -- v syntax highlighter -- lsp stuff use "nvim-treesitter/nvim-treesitter" From bf3e29bfafc0403e8d318be8e3ac952b4b1008b0 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Thu, 6 May 2021 22:45:57 +0530 Subject: [PATCH 6/7] Update nvim-lspconfig.lua --- lua/nvim-lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-lspconfig.lua b/lua/nvim-lspconfig.lua index 7af96c3..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", "ccls", "rust_analyzer", "vls"} +local servers = {"html", "cssls", "tsserver", "pyright", "bashls", "vls"} for k, lang in pairs(servers) do lspconf[lang].setup { From e8210d821d85be8de39593090a9e5a8ea627ea97 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Thu, 6 May 2021 22:46:28 +0530 Subject: [PATCH 7/7] Update treesitter-nvim.lua --- lua/treesitter-nvim.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/lua/treesitter-nvim.lua b/lua/treesitter-nvim.lua index 7099955..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,