Omnisharp config fixes
This commit is contained in:
parent
ad4840d8f0
commit
b59fa97f65
@ -73,6 +73,9 @@ lspconfig.omnisharp.setup {
|
|||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
client.server_capabilities.semanticTokensProvider = nil
|
client.server_capabilities.semanticTokensProvider = nil
|
||||||
end,
|
end,
|
||||||
|
handlers = {
|
||||||
|
["textDocument/definition"] = require('omnisharp_extended').handler,
|
||||||
|
},
|
||||||
-- TODO(jwall): See if init_options can assist in getting our lint setting correct.
|
-- TODO(jwall): See if init_options can assist in getting our lint setting correct.
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -292,6 +295,7 @@ vim.keymap.set("n", "<Leader>rl", telescope_builtins.lsp_references)
|
|||||||
vim.keymap.set("n", "<Leader>rn", vim.lsp.buf.rename)
|
vim.keymap.set("n", "<Leader>rn", vim.lsp.buf.rename)
|
||||||
vim.keymap.set("n", "<Leader>sl", telescope_builtins.lsp_workspace_symbols)
|
vim.keymap.set("n", "<Leader>sl", telescope_builtins.lsp_workspace_symbols)
|
||||||
vim.keymap.set("n", "<Leader>dl", telescope_builtins.diagnostics)
|
vim.keymap.set("n", "<Leader>dl", telescope_builtins.diagnostics)
|
||||||
|
vim.keymap.set("n", "<Leader>rg", telescope_builtins.live_grep)
|
||||||
vim.keymap.set("n", "<Leader>bl", function() telescope_builtins.buffers({}) end)
|
vim.keymap.set("n", "<Leader>bl", function() telescope_builtins.buffers({}) end)
|
||||||
|
|
||||||
-- Show whatever errors we have in our trouble pane
|
-- Show whatever errors we have in our trouble pane
|
||||||
|
6
nix/darwin/flake.lock
generated
6
nix/darwin/flake.lock
generated
@ -34,12 +34,12 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-BX0pRxD3LU+youMCTtJM160kzAzb4pkoo4x5evvNz94=",
|
"narHash": "sha256-RUsYDEHzM9vCyjCifvicGOS/Bnj/vFPFz7WVdjId6U0=",
|
||||||
"path": "/nix/store/6cab3sm1i2kgjvrz2x3hqpk23m540801-source/nix/base-system",
|
"path": "/nix/store/zpffamlg727zid5pkx7vs1ca7q07vkgk-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/6cab3sm1i2kgjvrz2x3hqpk23m540801-source/nix/base-system",
|
"path": "/nix/store/zpffamlg727zid5pkx7vs1ca7q07vkgk-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user