Add crystal and coq autocmd's.

This commit is contained in:
Danila Fedorin 2019-03-13 17:25:58 -07:00
parent 5aa980a70f
commit 2ee7f0ee1c

View File

@ -21,9 +21,10 @@ set mouse=a " Allow mouse
set signcolumn=yes " Always show extra column set signcolumn=yes " Always show extra column
autocmd BufEnter * call ncm2#enable_for_buffer() " Enable ncm2 for all buffers 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 = { let g:LanguageClient_serverCommands = {
\ 'haskell': ['hie', '--lsp'], \ 'haskell': ['hie', '--lsp'],