diff options
| author | Simen A. W. Olsen <so@bjerk.io> | 2023-12-27 00:41:12 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <so@bjerk.io> | 2023-12-27 00:41:12 +0100 |
| commit | 891fad07f520115bb2f44c8e9ed45726a465e3a5 (patch) | |
| tree | 90224e9c4eae25b63248b7266cd0bfbc302e9bc8 /.config/nvim/lua/plugins/treesitter.lua | |
| parent | 4a2edf5a0f86ce3be0f8124cdb4dcad788f4784e (diff) | |
| download | dotfiles-891fad07f520115bb2f44c8e9ed45726a465e3a5.tar.gz dotfiles-891fad07f520115bb2f44c8e9ed45726a465e3a5.zip | |
more vim and hammerspoon
Diffstat (limited to '.config/nvim/lua/plugins/treesitter.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/treesitter.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/treesitter.lua b/.config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..04ba7d8 --- /dev/null +++ b/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,14 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function() + local config = require("nvim-treesitter.configs") + config.setup({ + ensure_installed = { "lua", "javascript" }, + highlight = { enable = true }, + indent = { enable = true }, + }) + end, + }, +} |
