mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-08 12:42:02 +00:00
Configuring omnisharp
This commit is contained in:
@@ -3,7 +3,19 @@ if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
local server_settings = {}
|
||||
local server_settings = {
|
||||
omnisharp = {
|
||||
handlers = {
|
||||
["textDocument/definition"] = require('omnisharp_extended').handler,
|
||||
},
|
||||
cmd_env = {
|
||||
["OMNISHARP_FormattingOptions:EnableEditorConfigSupport"] = true,
|
||||
["OMNISHARP_RoslynExtensionsOptions:enableAnalyzersSupport"] = true,
|
||||
["OMNISHARP_RoslynExtensionsOptions:enableImportCompletion"] = true,
|
||||
["OMNISHARP_RoslynExtensionsOptions:enableDecompilationSupport"] = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
lsp_installer.settings({
|
||||
ui = {
|
||||
|
||||
@@ -65,6 +65,7 @@ return packer.startup(function(use)
|
||||
'neovim/nvim-lspconfig',
|
||||
'williamboman/nvim-lsp-installer',
|
||||
}
|
||||
use "Hoffs/omnisharp-extended-lsp.nvim"
|
||||
use {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
@@ -76,15 +77,12 @@ return packer.startup(function(use)
|
||||
use {
|
||||
"narutoxy/dim.lua",
|
||||
requires = { "nvim-treesitter/nvim-treesitter", "neovim/nvim-lspconfig" },
|
||||
config = function()
|
||||
require('dim').setup({})
|
||||
end
|
||||
config = function() require('dim').setup({}) end
|
||||
}
|
||||
|
||||
use { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }
|
||||
use "numToStr/Comment.nvim"
|
||||
use "JoosepAlviste/nvim-ts-context-commentstring"
|
||||
use { "code-biscuits/nvim-biscuits", config = function() require('nvim-biscuits').setup({}) end }
|
||||
|
||||
use { "lukas-reineke/virt-column.nvim", config = function() require("virt-column").setup() end }
|
||||
use "lukas-reineke/indent-blankline.nvim"
|
||||
|
||||
@@ -6,6 +6,9 @@ end
|
||||
configs.setup({
|
||||
ensure_installed = "maintained",
|
||||
sync_install = false,
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
disable = { },
|
||||
|
||||
Reference in New Issue
Block a user