summaryrefslogtreecommitdiff
path: root/fnl/config/treesitter.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/treesitter.fnl')
-rw-r--r--fnl/config/treesitter.fnl27
1 files changed, 11 insertions, 16 deletions
diff --git a/fnl/config/treesitter.fnl b/fnl/config/treesitter.fnl
index 357859f..a76ff32 100644
--- a/fnl/config/treesitter.fnl
+++ b/fnl/config/treesitter.fnl
@@ -1,20 +1,15 @@
;; Treesitter is a tool for building syntax trees for source files.
;; In the neovim context it helps with better coloring.
-(module config.treesitter
- {autoload {util util}})
+(module config.treesitter {autoload {util util}})
(let [treesitter (util.load-plugin :nvim-treesitter.configs)]
- (treesitter.setup
- {:ensure_installed "all"
- :sync_install false
- :ignore_install [ "" ]
- :autopairs { :enable true }
- :highlight {
- :enable true
- :disable [ "org" ]
- :additional_vim_regex_highlighting [ "org" ]}}
- :context_commentstring {
- :enable true
- :enable_autocmd false}
- :indent { :enable true :disable [ "yaml" "python" "css" ] }
- :playground { :enable true }))
+ (treesitter.setup {:ensure_installed :all
+ :sync_install false
+ :ignore_install [""]
+ :autopairs {:enable true}
+ :highlight {:enable true
+ :disable [:org]
+ :additional_vim_regex_highlighting [:org]}}
+ :context_commentstring {:enable true :enable_autocmd false}
+ :indent {:enable true :disable [:yaml :python :css]}
+ :playground {:enable true}))