From 3f4584a3b6ef99b8fdacb91533e6ab590d8c8407 Mon Sep 17 00:00:00 2001 From: Techatrix Date: Sat, 5 Oct 2024 20:40:38 +0200 Subject: [PATCH] add syntax highlighting for vimscript code --- content/zls/install.smd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zls/install.smd b/content/zls/install.smd index b46d49a..054da9f 100644 --- a/content/zls/install.smd +++ b/content/zls/install.smd @@ -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 @@ -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 =