feat: elm support

This commit is contained in:
Andrejus
2020-12-23 21:06:46 +00:00
parent 3d6acd34ea
commit 52649b32a0
3 changed files with 56 additions and 2 deletions

View File

@@ -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"
}
}
},

View File

@@ -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'
" {{{