mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 17:28:57 +02:00
fix(python): removed the python-semshi
extra
This commit is contained in:
parent
c1f5fcf9c7
commit
e32d1918ae
2 changed files with 4 additions and 33 deletions
|
@ -1,33 +0,0 @@
|
||||||
return {
|
|
||||||
-- "numiras/semshi",
|
|
||||||
"wookayin/semshi", -- use a maintained fork
|
|
||||||
ft = "python",
|
|
||||||
build = ":UpdateRemotePlugins",
|
|
||||||
init = function()
|
|
||||||
-- Disabled these features better provided by LSP or other more general plugins
|
|
||||||
vim.g["semshi#error_sign"] = false
|
|
||||||
vim.g["semshi#simplify_markup"] = false
|
|
||||||
vim.g["semshi#mark_selected_nodes"] = false
|
|
||||||
vim.g["semshi#update_delay_factor"] = 0.001
|
|
||||||
|
|
||||||
-- This autocmd must be defined in init to take effect
|
|
||||||
vim.api.nvim_create_autocmd({ "VimEnter", "ColorScheme" }, {
|
|
||||||
group = vim.api.nvim_create_augroup("SemanticHighlight", {}),
|
|
||||||
callback = function()
|
|
||||||
-- Only add style, inherit or link to the LSP's colors
|
|
||||||
vim.cmd([[
|
|
||||||
highlight! link semshiGlobal @none
|
|
||||||
highlight! link semshiImported @none
|
|
||||||
highlight! link semshiParameter @lsp.type.parameter
|
|
||||||
highlight! link semshiBuiltin @function.builtin
|
|
||||||
highlight! link semshiAttribute @field
|
|
||||||
highlight! link semshiSelf @lsp.type.selfKeyword
|
|
||||||
highlight! link semshiUnresolved @none
|
|
||||||
highlight! link semshiFree @none
|
|
||||||
highlight! link semshiAttribute @none
|
|
||||||
highlight! link semshiParameterUnused @none
|
|
||||||
]])
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
|
@ -15,6 +15,10 @@ M.deprecated_extras = {
|
||||||
["lazyvim.plugins.extras.coding.mini-ai"] = "`mini.ai` is now a core LazyVim plugin (again)",
|
["lazyvim.plugins.extras.coding.mini-ai"] = "`mini.ai` is now a core LazyVim plugin (again)",
|
||||||
["lazyvim.plugins.extras.lazyrc"] = "local spec files are now a lazy.nvim feature",
|
["lazyvim.plugins.extras.lazyrc"] = "local spec files are now a lazy.nvim feature",
|
||||||
["lazyvim.plugins.extras.editor.trouble-v3"] = "Trouble v3 has been merged in main",
|
["lazyvim.plugins.extras.editor.trouble-v3"] = "Trouble v3 has been merged in main",
|
||||||
|
["lazyvim.plugins.extras.lang.python-semshi"] = [[The python-semshi extra has been removed,
|
||||||
|
because it's causing too many issues.
|
||||||
|
Either use `basedpyright`, or copy the [old extra](https://github.com/LazyVim/LazyVim/blob/c1f5fcf9c7ed2659c9d5ac41b3bb8a93e0a3c6a0/lua/lazyvim/plugins/extras/lang/python-semshi.lua#L1) to your own config.
|
||||||
|
]],
|
||||||
}
|
}
|
||||||
|
|
||||||
M.deprecated_modules = {}
|
M.deprecated_modules = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue