Skip to content

Commit 063d343

Browse files
Remove ALE
1 parent ce50a58 commit 063d343

File tree

6 files changed

+24
-18
lines changed

6 files changed

+24
-18
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,19 @@ the base16-shell repo to add the appropriate stuff to your
4242
* [tpope/vim-fugitive](http://github.com/tpope/vim-fugitive)
4343
* [tpope/vim-repeat](http://github.com/tpope/vim-repeat)
4444
* [tpope/vim-surround](http://github.com/tpope/vim-surround)
45-
* [w0rp/ale](https://github.com/w0rp/ale)
4645
* etc
4746
<!-- * [shougo/deoplete.nvim](http://github.com/sjl/shougo/deoplete.nvim) -->
4847

4948
## step [Coc](https://github.com/neoclide/coc.nvim)
5049

51-
`:CocInstall coc-tsserver coc-json coc-tslint-plugin coc-eslint`
50+
* coc-css
51+
* coc-eslint
52+
* coc-json
53+
* coc-python
54+
* coc-tslint-plugin
55+
* coc-tsserver
56+
57+
`:CocInstall coc-css coc-eslint coc-json coc-python coc-tslint-plugin coc-tsserver`
5258

5359
## step yep
5460

coc-settings.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
{
2+
"coc.preferences.formatOnSaveFiletypes": [],
23
"diagnostic.errorSign": "",
34
"diagnostic.hintSign": "",
45
"diagnostic.infoSign": "i",
56
"diagnostic.signOffset": 9999999,
67
"diagnostic.warningSign": "",
8+
"eslint.autoFixOnSave": true,
9+
"eslint.filetypes": ["javascript", "typescript", "typescriptreact", "javascriptreact", "typescript.tsx"],
710
"python.jediEnabled": false,
811
"python.linting.flake8Enabled": true,
12+
"suggest.echodocSupport": true,
13+
"suggest.maxCompleteItemCount": 20,
914
"tsserver.npm": "~/n/bin/npm",
10-
"tsserver.trace.server": "verbose"
15+
"tsserver.trace.server": "verbose",
16+
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
17+
"typescript.format.insertSpaceBeforeFunctionParenthesis": true
1118
}

config/plugin-config/ale.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set statusline=%{LinterStatus()}
1717
let g:ale_lint_delay = 0
1818
let g:ale_lint_on_insert_leave = 1
1919
let g:ale_lint_on_text_changed = 'normal'
20-
let g:ale_set_signs = 0
20+
let g:ale_set_signs = 1
2121

2222
" au VimEnter,BufEnter,ColorScheme *
2323
" \ exec "hi! ALEInfoLine
@@ -106,12 +106,12 @@ let g:ale_pattern_options = {
106106

107107
let g:ale_linters = {
108108
\ 'javascript': s:js_linters,
109-
\ 'typescript': ['tsserver'],
109+
\ 'typescript': ['tsserver', 'eslint'],
110110
\ 'scss': ['stylelint'],
111111
\ }
112112

113113
let g:ale_fixers = {
114114
\ 'javascript': s:js_fixers,
115-
\ 'typescript': ['tslint'],
115+
\ 'typescript': ['tslint', 'eslint'],
116116
\ 'scss': ['stylelint'],
117117
\ }

config/plugin-config/coc.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ set shortmess+=c
1818
" set signcolumn=yes
1919
set signcolumn=auto:2
2020

21+
" let g:coc_global_extensions = '' " add extension names bere
2122
let g:coc_status_error_sign = ''
2223
let g:coc_status_warning_sign = ''
2324

config/plugins.vim

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Plug 'jiangmiao/auto-pairs' " autocomplete brackets: @see: https://bit
2323
Plug 'junegunn/vim-easy-align' " align stuff... like csv columns
2424
Plug 'kristijanhusak/vim-dirvish-git' " dirvish git stuff
2525
Plug 'matze/vim-move' " line-bubbling
26-
Plug 'maximbaz/lightline-ale' " show lint errors in lightline
27-
" Plug 'mechatroner/rainbow_csv' " csv pretties
26+
" Plug 'maximbaz/lightline-ale' " show lint errors in lightline
27+
Plug 'mechatroner/rainbow_csv' " csv pretties
2828
Plug 'mhinz/vim-signify' " show git changes in gutter
2929
Plug 'myusuf3/numbers.vim' " relative line numbering
3030
Plug 'sjl/vitality.vim' " iterm2 + tmux fixes
@@ -43,17 +43,9 @@ Plug 'junegunn/fzf.vim'
4343

4444
"" IdIDE:
4545
Plug 'neoclide/coc.nvim', {'branch': 'release'}
46-
Plug 'neoclide/coc-css', {'do': 'yarn install --frozen-lockfile'}
47-
" Plug 'neoclide/coc-eslint', {'do': 'yarn install --frozen-lockfile'}
48-
Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile'}
49-
Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile'}
50-
Plug 'neoclide/coc-tslint-plugin', {'do': 'yarn install --frozen-lockfile'}
51-
Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile'}
5246

5347
Plug 'sheerun/vim-polyglot'
54-
" Plug 'shougo/echodoc.vim'
55-
" Plug 'shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins'} " @see: https://github.com/Shougo/deoplete.nvim/wiki/Completion-Sources
56-
Plug 'w0rp/ale', {'do': 'npm install -g standard'} " linting
48+
" Plug 'w0rp/ale', {'do': 'npm install -g standard'} " linting
5749

5850
"" JaJavaScript:
5951
Plug 'heavenshell/vim-jsdoc'

init.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source $HOME/.config/nvim/config/tabs.vim
2020
"" plugin configuration
2121
"" ---------------------------------------------------------------------------
2222

23-
source $HOME/.config/nvim/config/plugin-config/ale.vim
23+
" source $HOME/.config/nvim/config/plugin-config/ale.vim
2424
source $HOME/.config/nvim/config/plugin-config/coc.vim
2525
" source $HOME/.config/nvim/config/plugin-config/deoplete.vim
2626
source $HOME/.config/nvim/config/plugin-config/dirvish.vim

0 commit comments

Comments
 (0)