diff --git a/dot_config/nvim/lua/plugins/treesitter.lua b/dot_config/nvim/lua/plugins/treesitter.lua index cd0218e..406d6d4 100644 --- a/dot_config/nvim/lua/plugins/treesitter.lua +++ b/dot_config/nvim/lua/plugins/treesitter.lua @@ -1,20 +1,10 @@ -- Treesitter configuration -local parser_config = require"nvim-treesitter.parsers".get_parser_configs() -parser_config.org = { - install_info = { - url = 'https://github.com/milisims/tree-sitter-org', - revision = 'main', - files = {'src/parser.c', 'src/scanner.cc'} - }, - filetype = 'org' -} +local parser_config = require "nvim-treesitter.parsers".get_parser_configs() require('nvim-treesitter.configs').setup({ - -- If TS highlights are not enabled at all, or disabled via `disable` prop, highlighting will fallback to default Vim syntax highlighting - highlight = { - enable = true, - disable = {'org'}, -- Remove this to use TS highlighter for some of the highlights (Experimental) - additional_vim_regex_highlighting = {'org'} -- Required since TS highlighter doesn't support all syntax features (conceal) - } - -- ensure_installed = "all" + -- If TS highlights are not enabled at all, or disabled via `disable` prop, highlighting will fallback to default Vim syntax highlighting + highlight = { + enable = true, + }, + ensure_installed = "all" })