fix: new lsp
This commit is contained in:
+2
-1
@@ -26,8 +26,9 @@ alias gtc="go test -gcflags=all=-l -cover ./..."
|
||||
alias swg="swag init -o docs -g "
|
||||
alias sws="swagger serve -F=swagger"
|
||||
|
||||
|
||||
function gtr
|
||||
go test -gcflags=all=-l -v -run="$1"
|
||||
go test -gcflags=all=-l -v -run=$argv
|
||||
end
|
||||
|
||||
|
||||
|
||||
@@ -134,6 +134,21 @@ return {
|
||||
init_options = { usePlaceholders = true, completeUnimported = true },
|
||||
},
|
||||
},
|
||||
pylsp = {
|
||||
setup = {
|
||||
cmd = { "pylyzer", "--server" },
|
||||
filetypes = { "python" },
|
||||
settings = {
|
||||
python = {
|
||||
checkOnType = false,
|
||||
diagnostics = true,
|
||||
inlayHints = true,
|
||||
smartCompletion = true
|
||||
}
|
||||
},
|
||||
single_file_support = true,
|
||||
}
|
||||
}
|
||||
},
|
||||
setup = {},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user