Skip to content

Commit ea04b46

Browse files
committed
nvim: remove prettier plugin
and configure some symbols
1 parent cdd6a64 commit ea04b46

File tree

3 files changed

+31
-7
lines changed

3 files changed

+31
-7
lines changed

vim/coc-settings.json

+31-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22
"codeLens.enable": true,
33
"suggest.echodocSupport": true,
44
"diagnostic.virtualText": true,
5+
"diagnostic.virtualTextCurrentLineOnly": false,
56
"go.enable": true,
6-
"suggest.languageSourcePriority": 99
7+
"suggest.languageSourcePriority": 99,
8+
"suggest.completionItemKindLabels": {
9+
"keyword": "\uf1de",
10+
"variable": "\ue79b",
11+
"value": "\uf89f",
12+
"operator": "\u03a8",
13+
"constructor": "\uf0ad",
14+
"function": "\u0192",
15+
"reference": "\ufa46",
16+
"constant": "\uf8fe",
17+
"method": "\uf09a",
18+
"struct": "\ufb44",
19+
"class": "\uf0e8",
20+
"interface": "\uf417",
21+
"text": "\ue612",
22+
"enum": "\uf435",
23+
"enumMember": "\uf02b",
24+
"module": "\uf40d",
25+
"color": "\ue22b",
26+
"property": "\ue624",
27+
"field": "\uf9be",
28+
"unit": "\uf475",
29+
"event": "\ufacd",
30+
"file": "\uf723",
31+
"folder": "\uf114",
32+
"snippet": "\ue60b",
33+
"typeParameter": "\uf728",
34+
"default": "\uf29c"
35+
},
36+
"coc.preferences.formatOnSaveFiletypes": ["javascript", "css", "markdown"]
737
}

vim/init.vim

-4
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ else
3737
Plug 'itchyny/lightline.vim'
3838
Plug 'Shougo/denite.nvim'
3939
Plug 'Shougo/echodoc.vim'
40-
Plug 'prettier/vim-prettier', {
41-
\ 'do': 'yarn install',
42-
\ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] }
4340
Plug 'leafgarland/typescript-vim'
4441
Plug 'rhysd/vim-grammarous'
4542
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
@@ -58,7 +55,6 @@ if !exists('g:vscode')
5855
source ~/.dotfiles/vim/settings.vim
5956
source ~/.dotfiles/vim/mappings.vim
6057
source ~/.dotfiles/vim/plug/autocompletion.vim
61-
source ~/.dotfiles/vim/plug/prettier.vim
6258
source ~/.dotfiles/vim/plug/vimwiki.vim
6359
source ~/.dotfiles/vim/plug/grammarous.vim
6460
source ~/.dotfiles/vim/plug/treesitter.vim

vim/plug/prettier.vim

-2
This file was deleted.

0 commit comments

Comments
 (0)