diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 4a82601..07fadbe 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -21,9 +21,10 @@ set mouse=a " Allow mouse set signcolumn=yes " Always show extra column autocmd BufEnter * call ncm2#enable_for_buffer() " Enable ncm2 for all buffers -set completeopt=noinsert,menuone +autocmd BufRead,BufNewFile *.v set filetype=coq " Coq is not Verilog +autocmd FileType crystal setlocal shiftwidth=2 " Crystal likes 2-wide indent -autocmd FileType crystal setlocal shiftwidth=2 +set completeopt=noinsert,menuone let g:LanguageClient_serverCommands = { \ 'haskell': ['hie', '--lsp'],