From 8677dce484aa959096827ee6f3538e552036a3c7 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Thu, 4 Aug 2022 20:48:01 +0200 Subject: [PATCH] Add indentLine plugin --- roles/neovim/files/lua/plugin_options.lua | 4 ++++ roles/neovim/files/lua/plugins.lua | 3 +++ 2 files changed, 7 insertions(+) diff --git a/roles/neovim/files/lua/plugin_options.lua b/roles/neovim/files/lua/plugin_options.lua index 0c200fd..a8e2bb4 100644 --- a/roles/neovim/files/lua/plugin_options.lua +++ b/roles/neovim/files/lua/plugin_options.lua @@ -47,3 +47,7 @@ vim.g.tex_flavor = 'latex' vim.g.vimtex_view_method = 'zathura' vim.g.vimtex_quickfix_autoclose_after_keystrokes = 2 vim.g.vimtex_quickfix_open_on_warning = 0 + +-- indentLine +-- vim.g.indentLine_char = '▏' +vim.g.indentLine_fileType = { 'html', 'htmldjango', 'tex' } diff --git a/roles/neovim/files/lua/plugins.lua b/roles/neovim/files/lua/plugins.lua index 3a95785..7fa63ce 100644 --- a/roles/neovim/files/lua/plugins.lua +++ b/roles/neovim/files/lua/plugins.lua @@ -35,6 +35,9 @@ return require('packer').startup(function(use) -- VimTeX use 'lervag/vimtex' + -- Display thin vertical lines at each indentation level + use 'Yggdroot/indentLine' + -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if packer_bootstrap then