Skip to content

Commit f289837

Browse files
committed
neovim
1 parent 21f855e commit f289837

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

home/.config/nvim/lua/plugins.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ require'telescope'.load_extension'pathogen'
8787

8888
local treesitter = require 'nvim-treesitter.configs'
8989
treesitter.setup {
90-
ensure_installed = {'cpp', 'python'},
90+
ensure_installed = {'cpp', 'python', 'rust'},
9191
highlight = { enable = true },
9292
incremental_selection = {
9393
enable = true,
@@ -112,20 +112,20 @@ treesitter.setup {
112112
enable = true,
113113
set_jumps = true,
114114
goto_next_start = {
115-
[']m'] = '@class.outer',
115+
[']c'] = '@class.outer',
116116
[']]'] = '@function.outer',
117117
[']o'] = '@loop.*',
118118
},
119119
goto_next_end = {
120-
[']M'] = '@class.outer',
120+
[']C'] = '@class.outer',
121121
},
122122
goto_previous_start = {
123-
['[m'] = '@class.outer',
123+
['[c'] = '@class.outer',
124124
['[['] = '@function.outer',
125125
['[o'] = '@loop.*',
126126
},
127127
goto_previous_end = {
128-
['[M'] = '@class.outer',
128+
['[C'] = '@class.outer',
129129
},
130130
},
131131
select = {

0 commit comments

Comments
 (0)