diff options
author | Adam <adam.moloney.stuck@gmail.com> | 2021-10-14 20:10:30 +0200 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2021-10-14 20:12:27 +0200 |
commit | 5e799df9959a4fc3052477ad5eb72bc77f9910e3 (patch) | |
tree | eb33cf4a23c3827cd560c5ee47f21018a98926e1 /.config/nvim/lua | |
parent | 8c2947ba288859882404fd89eb16aa70294ee471 (diff) |
Vim added vim-repeat, binding update, switched back to indent-blankline
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/binds.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/opts.lua | 8 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 3 |
3 files changed, 10 insertions, 5 deletions
diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index a1f3f10..40d9a83 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -37,8 +37,8 @@ map('n', '<leader>gd', '<cmd>Telescope lsp_definitions<cr>', opts) map('n', '<leader>gD', '<cmd>Telescope lsp_declarations<cr>', opts) map('n', '<leader>gr', '<cmd>Telescope lsp_references<cr>', opts) map('n', '<leader>gi', '<cmd>Telescope lsp_implementations<cr>', opts) -map('n', '<leader>K', '<cmd>lua vim.lsp.buf.hover()<cr>', opts) -map('n', '<leader><C-k>', '<cmd>lua vim.lsp.buf.signature_help()<cr>', opts) +map('n', 'K', '<cmd>lua vim.lsp.buf.hover()<cr>', opts) +map('n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<cr>', opts) map('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<cr>', opts) map('n', '<leader>xd', '<cmd>Telescope lsp_document_diagnostics<cr>', opts) map('n', '<leader>xD', '<cmd>Telescope lsp_workspace_diagnostics<cr>', opts) diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua index 8095e24..9d3caf2 100644 --- a/.config/nvim/lua/opts.lua +++ b/.config/nvim/lua/opts.lua @@ -130,8 +130,12 @@ require('kommentary.config').configure_language("default", { }) vim.o.tabline = '%!v:lua.require\'luatab\'.tabline()' -vim.g.indentLine_bufNameExclude = {'startify', 'NvimTree', 'help', 'toggleterm', 'terminal'} -vim.g.indentLine_bufTypeExclude = {'startify', 'NvimTree', 'help', 'toggleterm', 'terminal'} +require("indent_blankline").setup { + char = "¦", + show_trailing_blankline_indent = false, + buftype_exclude = {"startify", "NvimTree", "help", "toggleterm", "terminal"}, + filetype_exclude = {"startify", "NvimTree", "help", "toggleterm", "terminal"}, +} vim.cmd [[ let g:ascii = [ diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 5ec796c..ad31585 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -5,6 +5,7 @@ require('packer').startup(function() use 'tomasiser/vim-code-dark' use 'tpope/vim-fugitive' use 'tpope/vim-surround' + use 'tpope/vim-repeat' use 'ThePrimeagen/vim-be-good' use 'neovim/nvim-lspconfig' use 'hrsh7th/nvim-cmp' @@ -17,7 +18,7 @@ require('packer').startup(function() use 'mhinz/vim-startify' use "akinsho/toggleterm.nvim" use "ray-x/lsp_signature.nvim" - use "Yggdroot/indentLine" + use "lukas-reineke/indent-blankline.nvim" use { 'nvim-telescope/telescope.nvim', |