Skip to content

Commit

Permalink
add syntax highlighting for vimscript code
Browse files Browse the repository at this point in the history
  • Loading branch information
Techatrix committed Oct 5, 2024
1 parent 0a7e997 commit 3f4584a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/zls/install.smd
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ lspconfig.zls.setup {

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

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

```
```vim
"ensure zig is a recognized filetype
autocmd BufNewFile,BufRead *.zig set filetype=zig
let g:ycm_language_server =
Expand Down

0 comments on commit 3f4584a

Please sign in to comment.