feat: elm support
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"coc.preferences.formatOnSaveFiletypes": [
|
||||
"css",
|
||||
"dockerfile",
|
||||
"elm",
|
||||
"html",
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
@@ -38,6 +39,17 @@
|
||||
"filetypes": ["tf", "terraform"],
|
||||
"initializationOptions": {},
|
||||
"settings": {}
|
||||
},
|
||||
"elmLS": {
|
||||
"command": "elm-language-server",
|
||||
"filetypes": ["elm"],
|
||||
"rootPatterns": ["elm.json"],
|
||||
"initializationOptions": {
|
||||
"elmPath": "elm",
|
||||
"elmFormatPath": "elm-format",
|
||||
"elmTestPath": "elm-test",
|
||||
"elmAnalyseTrigger": "change"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ Plug 'vim-airline/vim-airline-themes'
|
||||
|
||||
" Enable caching of syntax highlighting groups
|
||||
let g:airline_highlighting_cache = 1
|
||||
|
||||
|
||||
" Enable tabline
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline#extensions#tabline#left_sep = ' '
|
||||
@@ -87,6 +87,9 @@ Plug 'junegunn/rainbow_parentheses.vim'
|
||||
Plug 'unblevable/quick-scope'
|
||||
Plug 'ntpeters/vim-better-whitespace'
|
||||
|
||||
" heuristic whitepsace
|
||||
Plug 'tpope/vim-sleuth'
|
||||
|
||||
" better motion
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'justinmk/vim-sneak'
|
||||
@@ -162,6 +165,10 @@ Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}
|
||||
\ ]
|
||||
" }}}
|
||||
|
||||
" elm
|
||||
Plug 'andys8/vim-elm-syntax'
|
||||
|
||||
|
||||
" debugger
|
||||
Plug 'puremourning/vimspector'
|
||||
" {{{
|
||||
|
||||
Reference in New Issue
Block a user