diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index c85dc70..5dbdfeb 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -60,12 +60,12 @@ return { local servers = { bashls = { bashIde = { - globPattern = "*@(.sh|.inc|.bash|.command)" - } + globPattern = "*@(.sh|.inc|.bash|.command)", + }, }, lua_ls = { Lua = { - diagnostics = { globals = { 'vim' } }, + diagnostics = { globals = { "vim" } }, workspace = { checkThirdParty = false }, telemetry = { enable = false }, }, @@ -79,11 +79,16 @@ return { analysis = { autoSearchPaths = true, diagnosticMode = "openFilesOnly", - useLibraryCodeForTypes = true - } - } + useLibraryCodeForTypes = true, + }, + }, }, rnix = {}, + rust_analyzer = { + diagnostics = { + enable = true, + }, + }, tsserver = {}, yamlls = {}, } diff --git a/lua/plugins/neorg.lua b/lua/plugins/neorg.lua deleted file mode 100644 index 1559d5c..0000000 --- a/lua/plugins/neorg.lua +++ /dev/null @@ -1,34 +0,0 @@ -return { - "nvim-neorg/neorg", - lazy = false, - build = ":Neorg sync-parsers", - dependencies = { "nvim-lua/plenary.nvim" }, - keys = { - { "ni", "Neorg index", desc = "Neorg index" }, - { "nw", "Neorg generate-workspace-summary", desc = "Neorg generate Workspace Summary" }, - { "njt", "Neorg journal today", desc = "Neorg Journal Today" }, - { "njT", "Neorg journal template", desc = "Neorg Journal Template" }, - }, - config = function() - require("neorg").setup { - load = { - ["core.defaults"] = {}, - ["core.summary"] = {}, - ["core.concealer"] = { - config = { - icon_preset = "diamond", - }, - }, - ["core.dirman"] = { - config = { - workspaces = { - notes = "~/notes", - til = "~/til", - }, - default_workspace = "notes", - }, - }, - }, - } - end, -}