mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-08 20:45:01 +00:00
Adding json schema support
This commit is contained in:
@@ -15,6 +15,13 @@ local server_settings = {
|
||||
["OMNISHARP_RoslynExtensionsOptions:enableDecompilationSupport"] = true,
|
||||
},
|
||||
},
|
||||
jsonls = {
|
||||
settings = {
|
||||
json = {
|
||||
schemas = require('schemastore').json.schemas(),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
lsp_installer.settings({
|
||||
|
||||
@@ -66,6 +66,7 @@ return packer.startup(function(use)
|
||||
'williamboman/nvim-lsp-installer',
|
||||
}
|
||||
use "Hoffs/omnisharp-extended-lsp.nvim"
|
||||
use "b0o/schemastore.nvim"
|
||||
use {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
|
||||
@@ -19,13 +19,9 @@ telescope.setup({
|
||||
path_display = { "truncate" },
|
||||
mappings = {
|
||||
i = {
|
||||
["<CR>"] = actions.file_edit,
|
||||
["<A-k>"] = actions.move_selection_previous,
|
||||
["<A-j>"] = actions.move_selection_next,
|
||||
},
|
||||
n = {
|
||||
["<CR>"] = actions.file_edit,
|
||||
},
|
||||
},
|
||||
},
|
||||
extensions = {
|
||||
|
||||
Reference in New Issue
Block a user