Skip to content

Commit 3f4584a

Browse files
committed
add syntax highlighting for vimscript code
1 parent 0a7e997 commit 3f4584a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zls/install.smd

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ lspconfig.zls.setup {
206206

207207
[]($section.id('nvim-lspconfig-init-vimscript'))
208208

209-
```
209+
```vim
210210
call plug#begin('~/.config/nvim/plugged')
211211
Plug 'neovim/nvim-lspconfig' " https://github.com/neovim/nvim-lspconfig
212212
Plug 'ziglang/zig.vim' " https://github.com/ziglang/zig.vim
@@ -272,7 +272,7 @@ Add ZLS in your `coc-settings.json` (open it using `:CocConfig`) like this:
272272
- Install YouCompleteMe from [here](https://github.com/ycm-core/YouCompleteMe.git).
273273
- Add these lines to your vimrc:
274274

275-
```
275+
```vim
276276
"ensure zig is a recognized filetype
277277
autocmd BufNewFile,BufRead *.zig set filetype=zig
278278
let g:ycm_language_server =

0 commit comments

Comments
 (0)