feat(nvim): works with mcfunction
This commit is contained in:
parent
16a58488f0
commit
b745dc9096
1 changed files with 10 additions and 3 deletions
|
@ -28,6 +28,7 @@ Plugin 'https://github.com/preservim/tagbar' " Tagbar for code navigation
|
||||||
Plugin 'https://github.com/neoclide/coc.nvim' " Autocompletions
|
Plugin 'https://github.com/neoclide/coc.nvim' " Autocompletions
|
||||||
" Plugin 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors
|
" Plugin 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors
|
||||||
Plugin 'https://github.com/mattn/emmet-vim' " Emmet support
|
Plugin 'https://github.com/mattn/emmet-vim' " Emmet support
|
||||||
|
Plugin 'rubixninja314/vim-mcfunction' " mcfunction
|
||||||
|
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
filetype plugin indent on " required
|
filetype plugin indent on " required
|
||||||
|
@ -79,9 +80,7 @@ let g:airline_symbols.linenr = ''
|
||||||
:command Ttp !pdflatex %:t
|
:command Ttp !pdflatex %:t
|
||||||
|
|
||||||
"" JS/TS/Node
|
"" JS/TS/Node
|
||||||
:command NpmInstall !npm install
|
:command NpmInstall !pnpm i
|
||||||
:command TscWatch !npm run ts-watch
|
|
||||||
:command NodemonStart !npm run start
|
|
||||||
|
|
||||||
"" Git
|
"" Git
|
||||||
:command -nargs=1 -bar GitignoreCreate !curl https://www.toptal.com/developers/gitignore/api/<args> | tee -a .gitignore
|
:command -nargs=1 -bar GitignoreCreate !curl https://www.toptal.com/developers/gitignore/api/<args> | tee -a .gitignore
|
||||||
|
@ -94,3 +93,11 @@ let g:airline_symbols.linenr = ''
|
||||||
inoremap <expr> <Tab> pumvisible() ? coc#_select_confirm() : "<Tab>"
|
inoremap <expr> <Tab> pumvisible() ? coc#_select_confirm() : "<Tab>"
|
||||||
|
|
||||||
set shell=/bin/bash
|
set shell=/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
" Highlight
|
||||||
|
augroup twig_ft
|
||||||
|
au!
|
||||||
|
autocmd BufNewFile,BufRead *.mcfunction set syntax=mcfunction
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue