diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2023-12-17 13:59:21 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2023-12-17 13:59:21 +0300 |
commit | 340bd3893f90cefa9d6c2f60364008cf7ca1c53c (patch) | |
tree | 64c63b7ea1cfa1a298980d1b0c961e35feb10d31 /.config/nvim/lua/user/treesitter.lua | |
parent | bd7d56290d0a8cf8e3b1d5f3cb272df62025866a (diff) |
added useful things
treesitter: nvim
ghauth: 2fa
.bashrc: some exports
Diffstat (limited to '.config/nvim/lua/user/treesitter.lua')
-rw-r--r-- | .config/nvim/lua/user/treesitter.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/nvim/lua/user/treesitter.lua b/.config/nvim/lua/user/treesitter.lua new file mode 100644 index 0000000..b98311f --- /dev/null +++ b/.config/nvim/lua/user/treesitter.lua @@ -0,0 +1,20 @@ +--! tree-sitter configuration + + +local ts = require 'nvim-treesitter' +local tsc = require 'nvim-treesitter.configs' + +tsc.setup{ + ensure_installed = { "rust" }, + auto_install = true, + highlight = { + enable = true, + additional_vim_regex_highlighting = true, ---------------------- + }, + ident = { enable = true }, + rainbow = { + enable = true, + extended_mode = true, + max_file_lines = 1024, + }, +} |