diff options
Diffstat (limited to 'config/essentials/nvim/lua/user')
| -rw-r--r-- | config/essentials/nvim/lua/user/cmp/cs.lua | 40 | ||||
| -rw-r--r-- | config/essentials/nvim/lua/user/cmp/init.lua | 1 | ||||
| -rw-r--r-- | config/essentials/nvim/lua/user/packer.lua | 9 | 
3 files changed, 47 insertions, 3 deletions
| diff --git a/config/essentials/nvim/lua/user/cmp/cs.lua b/config/essentials/nvim/lua/user/cmp/cs.lua index 7921117..533b4b3 100644 --- a/config/essentials/nvim/lua/user/cmp/cs.lua +++ b/config/essentials/nvim/lua/user/cmp/cs.lua @@ -1,6 +1,40 @@  local pid = vim.fn.getpid() -require'lspconfig'.omnisharp.setup{ -    cmd = { "/usr/bin/omnisharp", "--languageserver" , "--hostPID", tostring(pid) } -    -- Additional configuration can be added here +require'lspconfig'.omnisharp.setup { +    cmd = { "omnisharp", "--languageserver", "--hostPID", tostring(pid) }, + +    -- Enables support for reading code style, naming convention and analyzer +    -- settings from .editorconfig. +    enable_editorconfig_support = true, + +    -- If true, MSBuild project system will only load projects for files that +    -- were opened in the editor. This setting is useful for big C# codebases +    -- and allows for faster initialization of code navigation features only +    -- for projects that are relevant to code that is being edited. With this +    -- setting enabled OmniSharp may load fewer projects and may thus display +    -- incomplete reference lists for symbols. +    enable_ms_build_load_projects_on_demand = false, + +    -- Enables support for roslyn analyzers, code fixes and rulesets. +    enable_roslyn_analyzers = false, + +    -- Specifies whether 'using' directives should be grouped and sorted during +    -- document formatting. +    organize_imports_on_format = false, + +    -- Enables support for showing unimported types and unimported extension +    -- methods in completion lists. When committed, the appropriate using +    -- directive will be added at the top of the current file. This option can +    -- have a negative impact on initial completion responsiveness, +    -- particularly for the first few completion sessions after opening a +    -- solution. +    enable_import_completion = false, + +    -- Specifies whether to include preview versions of the .NET SDK when +    -- determining which version to use for project loading. +    sdk_include_prereleases = true, + +    -- Only run analyzers against open files when 'enableRoslynAnalyzers' is +    -- true +    analyze_open_documents_only = false,  } diff --git a/config/essentials/nvim/lua/user/cmp/init.lua b/config/essentials/nvim/lua/user/cmp/init.lua index 255534a..d40a67c 100644 --- a/config/essentials/nvim/lua/user/cmp/init.lua +++ b/config/essentials/nvim/lua/user/cmp/init.lua @@ -11,3 +11,4 @@ require("user.cmp.js")  require("user.cmp.emmet")  require("user.cmp.lua")  require("user.cmp.python") +require("user.cmp.cs") diff --git a/config/essentials/nvim/lua/user/packer.lua b/config/essentials/nvim/lua/user/packer.lua index a717e7c..605c0e2 100644 --- a/config/essentials/nvim/lua/user/packer.lua +++ b/config/essentials/nvim/lua/user/packer.lua @@ -23,6 +23,15 @@ return require('packer').startup(function(use)  	use('theRealCarneiro/hyprland-vim-syntax')  	use('mbbill/undotree') +	use { +		"nvim-neo-tree/neo-tree.nvim", +		branch = "v3.x", +		requires = { +			"nvim-lua/plenary.nvim", +			"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended +			"MunifTanjim/nui.nvim", +		} +	}  	use('tpope/vim-capslock')  	use('tpope/vim-commentary') | 
