diff --git a/nvim/nvim/config/new/lua/lsp/lsp-install.lua b/nvim/nvim/config/new/lua/lsp/lsp-install.lua index 6fef238..0a67ed4 100644 --- a/nvim/nvim/config/new/lua/lsp/lsp-install.lua +++ b/nvim/nvim/config/new/lua/lsp/lsp-install.lua @@ -15,6 +15,13 @@ local server_settings = { ["OMNISHARP_RoslynExtensionsOptions:enableDecompilationSupport"] = true, }, }, + jsonls = { + settings = { + json = { + schemas = require('schemastore').json.schemas(), + }, + }, + }, } lsp_installer.settings({ diff --git a/nvim/nvim/config/new/lua/plugins.lua b/nvim/nvim/config/new/lua/plugins.lua index 18f69e9..1b7776e 100644 --- a/nvim/nvim/config/new/lua/plugins.lua +++ b/nvim/nvim/config/new/lua/plugins.lua @@ -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", diff --git a/nvim/nvim/config/new/lua/windows/telescope.lua b/nvim/nvim/config/new/lua/windows/telescope.lua index f229a8b..fb5a1c1 100644 --- a/nvim/nvim/config/new/lua/windows/telescope.lua +++ b/nvim/nvim/config/new/lua/windows/telescope.lua @@ -19,13 +19,9 @@ telescope.setup({ path_display = { "truncate" }, mappings = { i = { - [""] = actions.file_edit, [""] = actions.move_selection_previous, [""] = actions.move_selection_next, }, - n = { - [""] = actions.file_edit, - }, }, }, extensions = {