mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
another ts typo
This commit is contained in:
parent
0b7e8e1b07
commit
2e4314331b
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
-- if not package.loaded['nvim-treesitter'] then return end
|
-- if not package.loaded['nvim-treesitter'] then return end
|
||||||
--
|
--
|
||||||
-- Custom parsers
|
-- Custom parsers
|
||||||
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
-- local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||||
-- parser_config.make = {
|
-- parser_config.make = {
|
||||||
-- install_info = {
|
-- install_info = {
|
||||||
-- url = "https://github.com/alemuller/tree-sitter-make", -- local path or git repo
|
-- url = "https://github.com/alemuller/tree-sitter-make", -- local path or git repo
|
||||||
|
@ -17,7 +17,6 @@ local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||||
-- -- filetype = "just", -- if filetype does not agrees with parser name
|
-- -- filetype = "just", -- if filetype does not agrees with parser name
|
||||||
-- -- used_by = {"bar", "baz"} -- additional filetypes that use this parser
|
-- -- used_by = {"bar", "baz"} -- additional filetypes that use this parser
|
||||||
-- }
|
-- }
|
||||||
|
|
||||||
-- Custom text objects
|
-- Custom text objects
|
||||||
local textobj_prefixes = O.treesitter.textobj_prefixes
|
local textobj_prefixes = O.treesitter.textobj_prefixes
|
||||||
local textobj_suffixes = O.treesitter.textobj_suffixes
|
local textobj_suffixes = O.treesitter.textobj_suffixes
|
||||||
|
@ -89,7 +88,7 @@ require("nvim-treesitter.configs").setup {
|
||||||
-- disable = { "c", "ruby" }, -- optional, list of language that will be disabled
|
-- disable = { "c", "ruby" }, -- optional, list of language that will be disabled
|
||||||
},
|
},
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = O.treesitter.enabled, -- false will disable the whole extension
|
enable = O.treesitter.highlight.enabled, -- false will disable the whole extension
|
||||||
additional_vim_regex_highlighting = true,
|
additional_vim_regex_highlighting = true,
|
||||||
disable = { "latex" },
|
disable = { "latex" },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue