Removed omnisharp-vim and updated Lazy packages
This commit is contained in:
+12
-48
@@ -159,7 +159,7 @@ require('lazy').setup({
|
|||||||
|
|
||||||
{ 'rust-lang/rust.vim' },
|
{ 'rust-lang/rust.vim' },
|
||||||
{ 'Julian/lean.nvim' },
|
{ 'Julian/lean.nvim' },
|
||||||
{ 'Omnisharp/omnisharp-vim' },
|
--{ 'Omnisharp/omnisharp-vim' },
|
||||||
|
|
||||||
-- Google Java auto-format
|
-- Google Java auto-format
|
||||||
{
|
{
|
||||||
@@ -380,7 +380,16 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
|
|||||||
-- See `:help nvim-treesitter`
|
-- See `:help nvim-treesitter`
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
-- Add languages to be installed here that you want installed for treesitter
|
-- Add languages to be installed here that you want installed for treesitter
|
||||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'typescript', 'help' },
|
ensure_installed = {
|
||||||
|
'c',
|
||||||
|
'cpp',
|
||||||
|
'go',
|
||||||
|
'lua',
|
||||||
|
'python',
|
||||||
|
'rust',
|
||||||
|
'help',
|
||||||
|
'c_sharp',
|
||||||
|
},
|
||||||
|
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true, disable = { 'python' } },
|
indent = { enable = true, disable = { 'python' } },
|
||||||
@@ -496,7 +505,7 @@ end
|
|||||||
-- Add any additional override configuration in the following tables. They will be passed to
|
-- Add any additional override configuration in the following tables. They will be passed to
|
||||||
-- the `settings` field of the server config. You must look up that documentation yourself.
|
-- the `settings` field of the server config. You must look up that documentation yourself.
|
||||||
local servers = {
|
local servers = {
|
||||||
--gopls = {},
|
gopls = {},
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
Lua = {
|
Lua = {
|
||||||
workspace = { checkThirdParty = false },
|
workspace = { checkThirdParty = false },
|
||||||
@@ -537,8 +546,6 @@ mason_lspconfig.setup {
|
|||||||
ensure_installed = vim.tbl_keys(servers),
|
ensure_installed = vim.tbl_keys(servers),
|
||||||
}
|
}
|
||||||
|
|
||||||
local pid = vim.fn.getpid()
|
|
||||||
|
|
||||||
mason_lspconfig.setup_handlers {
|
mason_lspconfig.setup_handlers {
|
||||||
function(server_name)
|
function(server_name)
|
||||||
require('lspconfig')[server_name].setup {
|
require('lspconfig')[server_name].setup {
|
||||||
@@ -547,49 +554,6 @@ mason_lspconfig.setup_handlers {
|
|||||||
settings = servers[server_name],
|
settings = servers[server_name],
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|
||||||
['omnisharp'] = function()
|
|
||||||
require('lspconfig').omnisharp.setup {
|
|
||||||
cmd = { '/usr/bin/omnisharp' },
|
|
||||||
|
|
||||||
on_attach = on_attach,
|
|
||||||
capabilities = capabilities,
|
|
||||||
-- 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 = true,
|
|
||||||
|
|
||||||
-- Specifies whether 'using' directives should be grouped and sorted during
|
|
||||||
-- document formatting.
|
|
||||||
organize_imports_on_format = true,
|
|
||||||
|
|
||||||
-- 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,
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Turn on lsp status information
|
-- Turn on lsp status information
|
||||||
|
|||||||
@@ -1,27 +1,25 @@
|
|||||||
{
|
{
|
||||||
"Comment.nvim": { "branch": "master", "commit": "8d3aa5c22c2d45e788c7a5fe13ad77368b783c20" },
|
"Comment.nvim": { "branch": "master", "commit": "a89339ffbee677ab0521a483b6dac7e2e67c907e" },
|
||||||
"LuaSnip": { "branch": "master", "commit": "025886915e7a1442019f467e0ae2847a7cf6bf1a" },
|
"LuaSnip": { "branch": "master", "commit": "a6355b12a3b7da0aef71f02560e17ff480182b97" },
|
||||||
"black": { "branch": "main", "commit": "f3b1a3b9d2fc6de8f0845399cb80d8bdfd6400fd" },
|
"black": { "branch": "main", "commit": "02f81c6995db4688baedd3c63e4b9821c090f09c" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" },
|
||||||
"cmp-nvim-ultisnips": { "branch": "main", "commit": "43b69a235b2dc54db692049fe0d5cc60c6b58b4b" },
|
"cmp-nvim-ultisnips": { "branch": "main", "commit": "43b69a235b2dc54db692049fe0d5cc60c6b58b4b" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
||||||
"fidget.nvim": { "branch": "main", "commit": "688b4fec4517650e29c3e63cfbb6e498b3112ba1" },
|
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "ca473e28382f1524aa3d2b6f04bcf54f2e6a64cb" },
|
"gitsigns.nvim": { "branch": "main", "commit": "372d5cb485f2062ac74abc5b33054abac21d8b58" },
|
||||||
"gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" },
|
"gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "57cce98dfdb2f2dd05a0567d89811e6d0505e13b" },
|
"lazy.nvim": { "branch": "main", "commit": "b7a1a0fbaf1bd0f394783951f16d4c9f8c9dc210" },
|
||||||
"lean.nvim": { "branch": "main", "commit": "157ca8a08ad13845cf67b440a595b55b25b9a459" },
|
"lean.nvim": { "branch": "main", "commit": "157ca8a08ad13845cf67b440a595b55b25b9a459" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" },
|
"lualine.nvim": { "branch": "master", "commit": "84ffb80e452d95e2c46fa29a98ea11a240f7843e" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "b64fdede85fd5e0b720ce722919e0a9b95ed6547" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "6c8f7afd6162fa27719f9da9792e4314da41c501" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "8829f9539f501ac99d6a556309a672478ca78e98" },
|
"mason.nvim": { "branch": "main", "commit": "390f1635b383d2cedd6ebe626c39ff9385885e78" },
|
||||||
"neodev.nvim": { "branch": "main", "commit": "7330427f9f71ac5aaa2d1a4c22ccd3914434e289" },
|
"neodev.nvim": { "branch": "main", "commit": "864b35006d3de24c60e44b566de8018f919b13e6" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "777450fd0ae289463a14481673e26246b5e38bf2" },
|
"nvim-cmp": { "branch": "main", "commit": "777450fd0ae289463a14481673e26246b5e38bf2" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "c5505c70571b094663745167d40388edd40f6450" },
|
"nvim-lspconfig": { "branch": "master", "commit": "e52efca5d4f5536533d447ec0d97e4d525b37ace" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "0a907316fad22b4495541328bc1a92378baf1b68" },
|
"nvim-treesitter": { "branch": "master", "commit": "da7f886ab5dde87b7c9bbae1c1eb99aa63a74e55" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "b55fe6175f0001347a433c9df358c8cbf8a4e90f" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "8673926519ea61069f9c1366d1ad1949316d250e" },
|
||||||
"omnisharp-vim": { "branch": "master", "commit": "4ffba1ae5399cb211f6003ec5e39212c9cf6b9f4" },
|
"plenary.nvim": { "branch": "master", "commit": "9ac3e9541bbabd9d73663d757e4fe48a675bb054" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "253d34830709d690f013daf2853a9d21ad7accab" },
|
|
||||||
"rose-pine": { "branch": "main", "commit": "17723f76ea78cdd71fd0007b7b760683b60a5e43" },
|
|
||||||
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "580b6c48651cabb63455e97d7e131ed557b8c7e2" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "580b6c48651cabb63455e97d7e131ed557b8c7e2" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "c1a2af0af69e80e14e6b226d3957a064cd080805" },
|
"telescope.nvim": { "branch": "master", "commit": "c1a2af0af69e80e14e6b226d3957a064cd080805" },
|
||||||
@@ -29,11 +27,11 @@
|
|||||||
"ultisnips": { "branch": "master", "commit": "0ad238b1910d447476b2d98f593322c1cdb71285" },
|
"ultisnips": { "branch": "master", "commit": "0ad238b1910d447476b2d98f593322c1cdb71285" },
|
||||||
"uxntal.vim": { "branch": "main", "commit": "b2d8bb9e225a7b0eeacccc406b319d2404eab4eb" },
|
"uxntal.vim": { "branch": "main", "commit": "b2d8bb9e225a7b0eeacccc406b319d2404eab4eb" },
|
||||||
"vim-codefmt": { "branch": "master", "commit": "db7631c9b9ea72ccc830e9fda0a8284c43f2beed" },
|
"vim-codefmt": { "branch": "master", "commit": "db7631c9b9ea72ccc830e9fda0a8284c43f2beed" },
|
||||||
"vim-fugitive": { "branch": "master", "commit": "9acbad1335ee6f30a8497733dcb2373c4550c8a2" },
|
"vim-fugitive": { "branch": "master", "commit": "e6651a79facf5cc2b7c554fdc19eb8a9fe89602c" },
|
||||||
"vim-glaive": { "branch": "master", "commit": "3c5db8d279f86355914200119e8727a085863fcd" },
|
"vim-glaive": { "branch": "master", "commit": "3c5db8d279f86355914200119e8727a085863fcd" },
|
||||||
"vim-go": { "branch": "master", "commit": "735e807eb01ce30d42dde0c03ae3614d9e2d8206" },
|
"vim-go": { "branch": "master", "commit": "a494378f6c106a97e39c62b493c14476f9f7de4f" },
|
||||||
"vim-maktaba": { "branch": "master", "commit": "fe95bb10f6bb250943a44632107f6a3d76ce5f28" },
|
"vim-maktaba": { "branch": "master", "commit": "fe95bb10f6bb250943a44632107f6a3d76ce5f28" },
|
||||||
"vim-rhubarb": { "branch": "master", "commit": "cad60fe382f3f501bbb28e113dfe8c0de6e77c75" },
|
"vim-rhubarb": { "branch": "master", "commit": "ee69335de176d9325267b0fd2597a22901d927b1" },
|
||||||
"vimtex": { "branch": "master", "commit": "e57b589a8ef3c67e3edfc0492bfee8b196eafefd" },
|
"vimtex": { "branch": "master", "commit": "c7b1cf1dd6747cef5340d74455061461c0f2eab5" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "4b73390eec680b4c061ea175eb32c0ff3412271d" }
|
"which-key.nvim": { "branch": "main", "commit": "4b73390eec680b4c061ea175eb32c0ff3412271d" }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user