fixed neovim whitespace and nlsp json schemas
This commit is contained in:
parent
5f16d590ae
commit
f0d6d15319
5 changed files with 8 additions and 8 deletions
|
@ -9,11 +9,5 @@ lsp_installer.on_server_ready(function(server)
|
|||
capabilities = require("user.lsp.handlers").capabilities,
|
||||
}
|
||||
|
||||
if server.name == "jsonls" then
|
||||
opts.settings = {
|
||||
json = { schemas = require("nlspsettings.jsonls").get_default_schemas() },
|
||||
}
|
||||
end
|
||||
|
||||
server:setup(opts)
|
||||
end)
|
||||
|
|
|
@ -6,5 +6,6 @@ end
|
|||
nlspsettings.setup({
|
||||
config_home = vim.fn.stdpath("config") .. "/lua/user/lsp/settings",
|
||||
local_settings_root_markers = { ".git" },
|
||||
jsonls_append_default_schemas = true,
|
||||
append_default_schemas = true,
|
||||
loader = "json",
|
||||
})
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
|
||||
"volar.takeOverMode.enabled": true
|
||||
}
|
||||
|
|
|
@ -11,4 +11,5 @@ vim.g.better_whitespace_filetypes_blacklist = {
|
|||
"help",
|
||||
"markdown",
|
||||
"fugitive",
|
||||
"toggleterm",
|
||||
}
|
||||
|
|
4
.zshrc
4
.zshrc
|
@ -112,6 +112,10 @@ source /usr/share/nvm/init-nvm.sh
|
|||
# Make GPG work in WSL
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
# Set FUCK
|
||||
eval $(thefuck --alias fuck)
|
||||
eval $(thefuck --alias FUCK)
|
||||
|
||||
# Set starship Prompt
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
|
|
Reference in a new issue