From c43c27f5dd82636b719a86e245f0a69de0084b74 Mon Sep 17 00:00:00 2001 From: pegasust Date: Sun, 24 Sep 2023 16:03:12 -0700 Subject: [PATCH] bug: there's also :LspInfo that is outdated --- native_configs/neovim/init.lua | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/native_configs/neovim/init.lua b/native_configs/neovim/init.lua index 2fff908..c0eef8c 100644 --- a/native_configs/neovim/init.lua +++ b/native_configs/neovim/init.lua @@ -84,7 +84,7 @@ WPlug('hrsh7th/cmp-cmdline') WPlug('hrsh7th/nvim-cmp') WPlug('hrsh7th/cmp-nvim-lsp-signature-help') WPlug('onsails/lspkind-nvim') -WPlug('yioneko/nvim-yati', { tag = '*' }) -- copium: fix Python indent auto-correct from smart-indent +-- WPlug('yioneko/nvim-yati', { tag = '*' }) -- copium: fix Python indent auto-correct from smart-indent WPlug('nathanalderson/yang.vim') -- WPlug('tzachar/cmp-tabnine', { ['do'] = './install.sh' }) @@ -116,7 +116,7 @@ WPlug('gruvbox-community/gruvbox') -- theme provider WPlug('nvim-lualine/lualine.nvim') -- fancy status line WPlug('lukas-reineke/indent-blankline.nvim') -- identation lines on blank lines WPlug('kyazdani42/nvim-web-devicons') -- icons for folder and filetypes -WPlug('m-demare/hlargs.nvim') -- highlights arguments; great for func prog +-- WPlug('m-demare/hlargs.nvim') -- highlights arguments; great for func prog WPlug('folke/todo-comments.nvim') -- Highlights TODO WPlug('NvChad/nvim-colorizer.lua') -- color highlighter with tailwind support WPlug('roobert/tailwindcss-colorizer-cmp.nvim') -- color for tailiwnd for compe @@ -253,7 +253,7 @@ vim.keymap.set('n', 'gg', 'GuessIndent') vim.cmd([[ colorscheme gruvbox ]]) -require('hlargs').setup() +-- require('hlargs').setup() require('nvim-web-devicons').setup() require('trouble').setup { position = "bottom", -- position of the list can be: bottom, top, left, right @@ -588,12 +588,12 @@ vim.api.nvim_set_keymap('n', 'x', ':tabdo if tabpagenr() > 1 | tabclose | e -- treesitter require 'treesitter-context' require('nvim-treesitter.configs').setup { - yati = { - enable = true, - default_lazy = true, - default_fallback = "auto", - disable = { "nix" } - }, + -- yati = { + -- enable = true, + -- default_lazy = true, + -- default_fallback = "auto", + -- disable = { "nix" } + -- }, indent = { enable = false }, highlight = { enable = true, @@ -779,6 +779,8 @@ local on_attach = function(client, bufnr) -- enable inlay hints if available require('inlay-hints').on_attach(client, bufnr) + + client.server_capabilities.semanticTokensProvider = nil end require("sg").setup {