add rust lsp support and cleanup
This commit is contained in:
parent
6f0048ce70
commit
11315a02af
2 changed files with 11 additions and 40 deletions
|
@ -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 = {},
|
||||
}
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
return {
|
||||
"nvim-neorg/neorg",
|
||||
lazy = false,
|
||||
build = ":Neorg sync-parsers",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
keys = {
|
||||
{ "<leader>ni", "<cmd>Neorg index<cr>", desc = "Neorg index" },
|
||||
{ "<leader>nw", "<cmd>Neorg generate-workspace-summary<cr>", desc = "Neorg generate Workspace Summary" },
|
||||
{ "<leader>njt", "<cmd>Neorg journal today<cr>", desc = "Neorg Journal Today" },
|
||||
{ "<leader>njT", "<cmd>Neorg journal template<cr>", 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,
|
||||
}
|
Loading…
Reference in a new issue