diff options
author | mhsn <mail@mhsn.net> | 2025-01-22 00:44:19 +0000 |
---|---|---|
committer | mhsn <mail@mhsn.net> | 2025-01-22 00:44:19 +0000 |
commit | dc17ab2fb051efceafddc3b97ebe9f67c775e9b7 (patch) | |
tree | b9c65af3f8d64f1bd5f48488afd69f2596ab4dec /lua/plugins/nvim-treesitter.lua | |
parent | c0ee49298161bccb75b9e23ed64fe80aacec2fd4 (diff) | |
download | nvim-dc17ab2fb051efceafddc3b97ebe9f67c775e9b7.tar.gz nvim-dc17ab2fb051efceafddc3b97ebe9f67c775e9b7.zip |
split plugins into separate files and other changes
Diffstat (limited to 'lua/plugins/nvim-treesitter.lua')
-rw-r--r-- | lua/plugins/nvim-treesitter.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/plugins/nvim-treesitter.lua b/lua/plugins/nvim-treesitter.lua new file mode 100644 index 0000000..5fc91d5 --- /dev/null +++ b/lua/plugins/nvim-treesitter.lua @@ -0,0 +1,14 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + config = function() + require("nvim-treesitter.configs").setup({ + ensure_installed = { "lua", "python", "rust" }, + sync_install = false, + highlight = { enable = true }, + indent = { enable = true }, + }) + end, + }, +} |