From 789948d6f193452cdaa45b0cbecae68a41330f05 Mon Sep 17 00:00:00 2001 From: adamstuck Date: Thu, 14 Oct 2021 10:00:29 +0200 Subject: Vim - changed indent guide plugin, undo last lsp_signature changes, kommentary prefer single-line comment --- .config/nvim/lua/opts.lua | 5 ++++- .config/nvim/lua/plugins.lua | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua index 528455d..9a6561d 100644 --- a/.config/nvim/lua/opts.lua +++ b/.config/nvim/lua/opts.lua @@ -96,7 +96,7 @@ require'lspconfig'.sumneko_lua.setup { } require'lsp_signature'.setup { - floating_window = false, + hint_enable = false, } -- HTML, CSS, JS (TS), BASH @@ -124,4 +124,7 @@ require("toggleterm").setup{ -- Misc require('kommentary.config').use_extended_mappings() +require('kommentary.config').configure_language("default", { + prefer_single_line_comments = true, +}) vim.o.tabline = '%!v:lua.require\'luatab\'.tabline()' diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 29eb25a..5ec796c 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -17,6 +17,7 @@ require('packer').startup(function() use 'mhinz/vim-startify' use "akinsho/toggleterm.nvim" use "ray-x/lsp_signature.nvim" + use "Yggdroot/indentLine" use { 'nvim-telescope/telescope.nvim', -- cgit v1.2.3-70-g09d2