|
@@ -790,8 +790,14 @@ require('lazy').setup({
|
|
|
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc' },
|
|
ensure_installed = { 'bash', 'c', 'html', 'lua', 'markdown', 'vim', 'vimdoc' },
|
|
|
-- Autoinstall languages that are not installed
|
|
-- Autoinstall languages that are not installed
|
|
|
auto_install = true,
|
|
auto_install = true,
|
|
|
- highlight = { enable = true },
|
|
|
|
|
- indent = { enable = true },
|
|
|
|
|
|
|
+ highlight = {
|
|
|
|
|
+ enable = true,
|
|
|
|
|
+ -- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
|
|
|
|
+ -- If you are experiencing weird indenting issues, add the language to
|
|
|
|
|
+ -- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
|
|
|
|
+ additional_vim_regex_highlighting = { 'ruby' },
|
|
|
|
|
+ },
|
|
|
|
|
+ indent = { enable = true, disable = { 'ruby' } },
|
|
|
},
|
|
},
|
|
|
config = function(_, opts)
|
|
config = function(_, opts)
|
|
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|