File tree 4 files changed +22
-6
lines changed
4 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ if vim.g.neovide then
35
35
end )
36
36
end
37
37
38
- cmd ' filetype plugin on'
39
- cmd ' filetype plugin indent on'
40
-
41
38
local stl = {
42
39
' %#ColorColumn#%2f' , -- buffer number
43
40
' ' , -- separator
@@ -479,6 +476,18 @@ command! GdbDown :call TermDebugSendCommand('down')
479
476
command! GdbQuit :call TermDebugSendCommand('quit')
480
477
]] , {})
481
478
479
+ cmd ' filetype plugin on'
480
+ cmd ' filetype plugin indent on'
481
+
482
+ vim .filetype .add ({extension = {inc = ' cpp' }})
483
+ vim .filetype .add ({
484
+ extension = {
485
+ c3 = " c3" ,
486
+ c3i = " c3" ,
487
+ c3t = " c3" ,
488
+ },
489
+ })
490
+
482
491
vim .g .termdebug_config = {
483
492
wide = 1 ,
484
493
}
Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ require'better_escape'.setup {
35
35
},
36
36
}
37
37
38
+ local parser_config = require " nvim-treesitter.parsers" .get_parser_configs ()
39
+ parser_config .c3 = {
40
+ install_info = {
41
+ url = " https://github.com/c3lang/tree-sitter-c3" ,
42
+ files = {" src/parser.c" , " src/scanner.c" },
43
+ branch = " main" ,
44
+ },
45
+ }
46
+
38
47
require ' leap' .add_default_mappings (true )
39
48
require ' mini.surround' .setup ({
40
49
mappings = {
Original file line number Diff line number Diff line change 4
4
# Don't respect ignore files (.gitignore, .ignore, etc.).
5
5
--no-ignore
6
6
7
- --glob=!{.git,.jj}
7
+ --glob=!{.git,.jj,out }
Original file line number Diff line number Diff line change @@ -227,8 +227,6 @@ bindkey '^xh' _complete_help
227
227
# General aliases & functions (partially shared with bash) {{{2
228
228
[[ -f ~ /.alias ]] && source ~ /.alias
229
229
230
- function arcfilter() { arc amend; git log -1 --pretty=%B | awk ' /Reviewers:|Subscribers:/{p=1} /Reviewed By:|Differential Revision:/{p=0} !p && !/^Summary:$/ {sub(/^Summary: /,"");print}' | git commit --amend --date=now -F -; }
231
-
232
230
for i in gb gf gh gr gt; do
233
231
zle -N $i
234
232
done
You can’t perform that action at this time.
0 commit comments