Nvim: modernize plugin configuration

This commit is contained in:
Robert Kmieć
2022-03-02 23:09:58 +01:00
parent 0061417343
commit 1c408ef31b
5 changed files with 93 additions and 48 deletions

View File

@@ -34,7 +34,7 @@ ts.setup {
enable = true,
-- disable = { "jsx", "cpp" }, list of languages you want to disable the plugin for
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
max_file_lines = nil, -- Do not enable for files with more than n lines, int
max_file_lines = 10000, -- Do not enable for files with more than n lines, int
-- colors = {}, -- table of hex strings
-- termcolors = {} -- table of colour name strings
},
@@ -49,6 +49,11 @@ ts.setup {
},
},
},
matchup = {
enable = true,
-- disable = { "c", "ruby" },
include_match_words
},
}
--vim.opt.foldmethod = "expr"
--vim.opt.foldexpr = "nvim_treesitter#foldexpr()"