File tree Expand file tree Collapse file tree 4 files changed +22
-6
lines changed
Expand file tree Collapse file tree 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
3535 end )
3636end
3737
38- cmd ' filetype plugin on'
39- cmd ' filetype plugin indent on'
40-
4138local stl = {
4239 ' %#ColorColumn#%2f' , -- buffer number
4340 ' ' , -- separator
@@ -479,6 +476,18 @@ command! GdbDown :call TermDebugSendCommand('down')
479476command! GdbQuit :call TermDebugSendCommand('quit')
480477]] , {})
481478
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+
482491vim .g .termdebug_config = {
483492 wide = 1 ,
484493}
Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ require'better_escape'.setup {
3535 },
3636}
3737
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+
3847require ' leap' .add_default_mappings (true )
3948require ' mini.surround' .setup ({
4049 mappings = {
Original file line number Diff line number Diff line change 44# Don't respect ignore files (.gitignore, .ignore, etc.).
55--no-ignore
66
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
227227# General aliases & functions (partially shared with bash) {{{2
228228[[ -f ~ /.alias ]] && source ~ /.alias
229229
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-
232230for i in gb gf gh gr gt; do
233231 zle -N $i
234232done
You can’t perform that action at this time.
0 commit comments