..
This commit is contained in:
parent
c473a1ceb6
commit
bebc7edbbc
3 changed files with 11 additions and 15 deletions
12
_laya-repo
12
_laya-repo
|
@ -1,12 +0,0 @@
|
||||||
#compdef laya-repo
|
|
||||||
|
|
||||||
_describe 'command' '(
|
|
||||||
commit-all:go\ through\ all\ libs\ in\ storage,\ stage\ all\ changes,\ commit\ them\
|
|
||||||
convert:create\ new\ laya\ repository\ and\ copy\ current\ dir\ to\ repository\ directory\
|
|
||||||
pull-all:pull\ or\ clone\ everything\ in\ repository.laya.io/laya/\
|
|
||||||
status:show\ what\ is\ not\ commited\
|
|
||||||
diff:show\ diff\ of\ current\ directory\ agains\ laya\ lib\ of\ same\ name\
|
|
||||||
sync:synchronize\ all\ files\ of\ current\ directory\ to\ laya\ lib\ of\ same\ name\
|
|
||||||
sync-all:call\ sync\ to\ all\ subdirectories\ of\ current\ directory
|
|
||||||
)' && ret=0
|
|
||||||
|
|
|
@ -94,7 +94,6 @@ function M.setup()
|
||||||
end
|
end
|
||||||
|
|
||||||
require('lspconfig').jsonls.setup {
|
require('lspconfig').jsonls.setup {
|
||||||
-- on_attach = M.on_attach,
|
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
settings = {
|
settings = {
|
||||||
validate = { enable = true },
|
validate = { enable = true },
|
||||||
|
@ -117,6 +116,16 @@ function M.setup()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require('lspconfig').yamlls.setup {
|
||||||
|
capabilities = capabilities,
|
||||||
|
settings = {
|
||||||
|
validate = { enable = true },
|
||||||
|
json = {
|
||||||
|
schemas = require('schemastore').json.schemas { },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
require 'lspconfig'.phpactor.setup {
|
require 'lspconfig'.phpactor.setup {
|
||||||
-- on_attach = M.on_attach,
|
-- on_attach = M.on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
|
|
@ -11,8 +11,7 @@ alias gst='git status -s'
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
alias gup='git pull --rebase'
|
alias gup='git pull --rebase'
|
||||||
alias gupv='git pull --rebase -v'
|
alias gwch='git log -p --ext-diff'
|
||||||
alias gwch='git whatchanged -p --abbrev-commit --pretty=medium'
|
|
||||||
|
|
||||||
alias wine32='WINEARCH=win32 WINEPREFIX=/home/sogun/.wine32 wine'
|
alias wine32='WINEARCH=win32 WINEPREFIX=/home/sogun/.wine32 wine'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue