diff options
| author | Nanderty <psopka@sopka.ch> | 2024-03-19 22:21:51 +0100 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2024-03-19 22:21:51 +0100 |
| commit | 338818c744c0c9138a519ad01818e69c6c21faae (patch) | |
| tree | a1f532e1c4d288fd0b77811d17f67447f6376d11 /lua/plugins | |
| parent | 9c1e8d2880e8d0ddac0d9860a977c1ef345acb35 (diff) | |
| download | neovim-config-338818c744c0c9138a519ad01818e69c6c21faae.tar.gz neovim-config-338818c744c0c9138a519ad01818e69c6c21faae.tar.bz2 neovim-config-338818c744c0c9138a519ad01818e69c6c21faae.zip | |
Fix treesitter for tex, add whitespace indicator in visual mode
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/interface.lua | 8 | ||||
| -rw-r--r-- | lua/plugins/treesitter.lua | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lua/plugins/interface.lua b/lua/plugins/interface.lua index 42d0108..3226cb0 100644 --- a/lua/plugins/interface.lua +++ b/lua/plugins/interface.lua @@ -3,6 +3,14 @@ return { 'nvim-tree/nvim-web-devicons', }, { + 'mcauley-penney/visual-whitespace.nvim', + event = { + 'BufReadPre', + 'BufNewFile' + }, + config = true + }, + { 'nvim-lualine/lualine.nvim', event = 'VeryLazy', opts = { diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index fa64a8d..845ba05 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -11,7 +11,7 @@ return { ignore_install = { 'latex' }, highlight = { enable = true, - additional_vim_regex_highlighting = false, + additional_vim_regex_highlighting = { 'latex' }, }, indent = { enable = true, disable = { 'python' } }, ensure_installed = { @@ -26,7 +26,7 @@ return { }, }, config = function(_, opts) - require("nvim-treesitter.configs").setup(opts) + require('nvim-treesitter.configs').setup(opts) end, }, { |
