summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/user/plugins/treesitter.lua
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2024-03-09 01:59:27 +0100
committeryuzu-eva <stevenhu@web.de>2024-03-09 01:59:27 +0100
commit1c68684558c3062ff8fca66ee3dd870088fd56ee (patch)
tree380cce5fb22e27f74d5381382fdd39f4ea764e6b /.config/nvim/lua/user/plugins/treesitter.lua
parentc5dcc86843b8f27628f901115eeda192d6260aca (diff)
parentf65e69f1f4b41785426bb830e73541aeb0d957e0 (diff)
Merge branch 'desktop'
merge into master, since the distinction is no longer neccessary
Diffstat (limited to '.config/nvim/lua/user/plugins/treesitter.lua')
-rw-r--r--.config/nvim/lua/user/plugins/treesitter.lua31
1 files changed, 0 insertions, 31 deletions
diff --git a/.config/nvim/lua/user/plugins/treesitter.lua b/.config/nvim/lua/user/plugins/treesitter.lua
deleted file mode 100644
index 32c74ee..0000000
--- a/.config/nvim/lua/user/plugins/treesitter.lua
+++ /dev/null
@@ -1,31 +0,0 @@
-require('nvim-treesitter.configs').setup {
- indent = {
- enable = true,
- disable = { 'html' },
- },
- highlight = {
- enable = true,
- disable = { 'NvimTree' },
- additional_vim_regex_highlighting = true,
- },
- textobjects = {
- select = {
- enable = true,
- lookahead = true,
- keymaps = {
- ['ia'] = '@parameter.inner',
- -- ['aa'] = {
- -- php = "" '@parameter.outer',
-
- -- python = "(function_definition) @function",
- -- cpp = "(function_definition) @function",
- -- c = "(function_definition) @function",
- -- java = "(method_declaration) @function",
- -- },
- },
- },
- },
- context_commentstring = {
- enable = true,
- },
-}