]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/lsp.lua
weechat: update configs
[dotfiles.git] / nvim / lua / plugins / lsp.lua
index 3354f7d22a3f0005fa5a3e1b6d73cdf585794a46..7957d8212b69cc5b4653f37f5f8eced8033c07ab 100644 (file)
@@ -12,6 +12,7 @@ return {
       keys[#keys+1] = { "gr", false }
     end,
     opts = {
       keys[#keys+1] = { "gr", false }
     end,
     opts = {
+      inlay_hints = { enabled = false },
       -- Automatically format on save
       -- autoformat = false,
       -- LSP Server Settings
       -- Automatically format on save
       -- autoformat = false,
       -- LSP Server Settings
@@ -28,25 +29,6 @@ return {
         },
         -- Add clangd extensions
         -- https://github.com/p00f/clangd_extensions.nvim
         },
         -- Add clangd extensions
         -- https://github.com/p00f/clangd_extensions.nvim
-        ruff_lsp = {
-          root_dir = function(fname)
-            return require("lspconfig.util").root_pattern("pyproject.toml", "setup.cfg", "ruff.toml")(fname)
-          end,
-        },
-        pylsp = {
-          settings = {
-            pylsp = {
-              plugins = {
-                autopep8 = { enabled = false },
-                flake8 = { enabled = false },
-                mccabe = { enabled = false },
-                pycodestyle = { enabled = false },
-                pydocstyle = { enabled = false },
-                pyflakes = { enabled = false },  -- covered by flake8
-              }
-            }
-          }
-        }
       },
       -- you can do any additional lsp server setup here
       -- return true if you don't want this server to be setup with lspconfig
       },
       -- you can do any additional lsp server setup here
       -- return true if you don't want this server to be setup with lspconfig