summaryrefslogtreecommitdiff
path: root/lua/config/treesitter.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-03-21 18:54:19 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-03-21 18:54:19 +0100
commitce7fdad6980da2d2d623f635fcf0fa1f547119a3 (patch)
tree9eb35e65c73ad1144db72a82784686cdfb264dad /lua/config/treesitter.lua
parent3101228d2df993e0325ed23372bb289ec1a15afe (diff)
build: add orgmode
Diffstat (limited to 'lua/config/treesitter.lua')
-rw-r--r--lua/config/treesitter.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/config/treesitter.lua b/lua/config/treesitter.lua
index 277d286..475eeee 100644
--- a/lua/config/treesitter.lua
+++ b/lua/config/treesitter.lua
@@ -7,7 +7,7 @@ if not status_ok then
end
treesitter.setup {
- ensure_installed = "maintained",
+ ensure_installed = { "maintained", "org" },
sync_install = false,
ignore_install = { "" }, -- List of parsers to ignore installing
autopairs = {
@@ -15,8 +15,8 @@ treesitter.setup {
},
highlight = {
enable = true, -- false will disable the whole extension
- disable = { "" }, -- list of language that will be disabled
- additional_vim_regex_highlighting = true,
+ disable = { "org" }, -- list of language that will be disabled
+ additional_vim_regex_highlighting = { "org" }, -- Required since TS highlighter doesn't support all syntax features (conceal)
},
context_commentstring = {
enable = true,