I've configuredpylsp in mylspconfig server in neovim. But everytime I type, delete or save a python file, it spams these both notifications:
 Is there a config to suppress or remove these notifications? My config: ifutils.executable("pylsp")thenlocalconda_prefix=os.getenv("CONDA_PREFIX")localfunctionisempty(s)returns==nilors==""endlocalfunctionuse_if_defined(val,fallback)returnval~=nilandvalorfallbackendifnotisempty(conda_prefix)thenvim.g.python_host_prog=use_if_defined(vim.g.python_host_prog,conda_prefix.."/bin/python")vim.g.python3_host_prog=use_if_defined(vim.g.python3_host_prog,conda_prefix.."/bin/python3")elsevim.g.python_host_prog=use_if_defined(vim.g.python_host_prog,"python")vim.g.python3_host_prog=use_if_defined(vim.g.python3_host_prog,"python3")endrequire("lspconfig").pylsp.setup {on_attach=on_attach,settings= {pylsp= {plugins= {-- formatter optionsblack= {enabled=true },autopep8= {enabled=false },yapf= {enabled=false },-- linter optionspylint= {enabled=true,executable="pylint"},ruff= {enabled=false },pyflakes= {enabled=false },pycodestyle= {enabled=false },-- type checkerpylsp_mypy= {enabled=true,overrides= {"--python-executable",vim.g.python3_host_prog,true },report_progress=true,live_mode=false },-- auto-completion optionsjedi_completion= {fuzzy=true },-- import sortingisort= {enabled=true }, }, }, },flags= {debounce_text_changes=200, },capabilities=capabilities, }elsevim.notify("pylsp not found!",vim.log.levels.WARN, {title="Nvim-config"})end |