diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com> | 2023-07-27 15:40:18 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@gmx.com> | 2023-07-27 15:40:18 +0200 |
| commit | b745dc9096c6cbfec602b64b007a5a95519b1208 (patch) | |
| tree | ca5a250a4a4ee30cf4bf8f55796d1fe322637d0f /config/nvim | |
| parent | 16a58488f048e120c9c9531dfa77f4a8d73fa2c5 (diff) | |
feat(nvim): works with mcfunction
Diffstat (limited to 'config/nvim')
| -rw-r--r-- | config/nvim/init.vim | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 00ce052..e178b6e 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -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/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plugin 'https://github.com/mattn/emmet-vim' " Emmet support +Plugin 'rubixninja314/vim-mcfunction' " mcfunction call vundle#end() " required filetype plugin indent on " required @@ -79,9 +80,7 @@ let g:airline_symbols.linenr = '' :command Ttp !pdflatex %:t "" JS/TS/Node -:command NpmInstall !npm install -:command TscWatch !npm run ts-watch -:command NodemonStart !npm run start +:command NpmInstall !pnpm i "" Git :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>" set shell=/bin/bash + + +" Highlight +augroup twig_ft + au! + autocmd BufNewFile,BufRead *.mcfunction set syntax=mcfunction +augroup END + |
