summaryrefslogtreecommitdiff
path: root/fnl/plugins/treesitter.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-15 22:47:30 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-15 22:47:30 +0100
commit10b175f252104458d7478d8a2822818850cfdf92 (patch)
treeee926d33bee6b4acfe45fce0dd8aa9e94f03f06a /fnl/plugins/treesitter.fnl
parent9d4f654187869f96e27ab54a88708aba5959f1ba (diff)
Refactor file structure
Diffstat (limited to 'fnl/plugins/treesitter.fnl')
-rw-r--r--fnl/plugins/treesitter.fnl39
1 files changed, 0 insertions, 39 deletions
diff --git a/fnl/plugins/treesitter.fnl b/fnl/plugins/treesitter.fnl
deleted file mode 100644
index 1d96a13..0000000
--- a/fnl/plugins/treesitter.fnl
+++ /dev/null
@@ -1,39 +0,0 @@
-;; Treesitter is a tool for building syntax trees for source files.
-;; In the neovim context it helps with better coloring.
-
-(local opts {:ensure_installed [:c
- :rust
- :lua
- :hcl
- :org
- :haskell
- :python
- :fennel
- :make
- :go
- :ocaml
- :erlang
- :vim
- :yaml
- :html
- :toml
- :dockerfile
- :markdown
- :latex]
- :sync_install false
- :ignore_install [""]
- :autopairs {:enable true}
- :highlight {:enable true :disable [:org]}
- :context_commentstring {:enable true :enable_autocmd false}
- :indent {:enable true :disable [:yaml :python :css]}
- :playground {:enable true}})
-
-(fn setup []
- (let [treesitter (require :nvim-treesitter.configs)]
- (treesitter.setup opts)))
-
-{1 :nvim-treesitter/nvim-treesitter
- :build ":TSUpdate"
- :event :BufReadPost
- :config (fn []
- (setup))}