Skip to content

Commit 0e0bb6b

Browse files
committed
Add vim-lsp and lsp-settings plugins
1 parent 791cb73 commit 0e0bb6b

File tree

394 files changed

+29273
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+29273
-1
lines changed

basic.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if has("gui_running")
117117
autocmd GUIEnter * :simalt ~n
118118
" set guifont=Consolas:h15:cANSI
119119
" Consolas Nerd Font for icons
120-
set guifont=Consolas\ NF:h15:cANSI
120+
set guifont=Consolas\ NF:h14:cANSI
121121
endif
122122

123123
endif

plugins.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ Plug 'preservim/nerdtree'
7777
Plug 'Xuyuanp/nerdtree-git-plugin'
7878
Plug 'ryanoasis/vim-devicons'
7979

80+
" LSP
81+
Plug 'prabirshrestha/vim-lsp'
82+
Plug 'mattn/vim-lsp-settings'
83+
8084
"Completion
8185
Plug 'maralla/completor.vim'
8286
Plug 'jiangmiao/auto-pairs'
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
# All
4+
[*]
5+
charset = utf-8
6+
7+
# Extension
8+
[*.sh]
9+
end_of_line = lf
10+
indent_style = space
11+
indent_size = 2
12+
13+
[*.cmd]
14+
end_of_line = crlf
15+
16+
# EOF
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# -*- coding: utf-8 -*-
2+
# vim:fenc=utf-8 ff=unix
3+
4+
# git system files
5+
.gitattributes eol=lf
6+
.gitignore eol=lf
7+
.editorconfig eol=lf
8+
9+
*.sh text eol=lf
10+
*.cmd -text
11+
12+
# EOF
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
servers/*
2+
unzip.exe
3+
gzip.exe
4+
busybox.exe
5+
doc/tags
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
disable=SC2002
2+
disable=SC2046

plugins/vim-lsp-settings/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2019 Yasuhiro Matsumoto
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

plugins/vim-lsp-settings/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.PHONY: shellcheck
2+
shellcheck:
3+
find ./installer -name "*.sh" -type f -print0 | xargs -0 shellcheck
4+
5+
.PHONY: shellcheck-docker
6+
shellcheck-docker:
7+
find ./installer -name "*.sh" -type f -print0 | xargs -0 docker run -t --rm -v "${PWD}:/mnt" koalaman/shellcheck:stable
8+
9+
.PHONY: shfmt
10+
shfmt:
11+
find ./installer -name "*.sh" -type f -print0 | xargs -0 shfmt -w

0 commit comments

Comments
 (0)