File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed
Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -658,9 +658,28 @@ require('lazy').setup({
658658 -- - settings (table): Override the default settings passed when initializing the server.
659659 -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
660660 local servers = {
661- -- clangd = {},
661+ clangd = {
662+ cmd = {
663+ ' clangd' ,
664+ ' --background-index' , -- build a background index for faster navigation
665+ ' --clang-tidy' , -- run clang-tidy for linting (if you have clang-tidy installed)
666+ ' --completion-style=detailed' , -- more detailed auto-completion suggestions
667+ ' --header-insertion=never' , -- adjust header insertion behavior if needed
668+ },
669+ },
662670 -- gopls = {},
663- -- pyright = {},
671+ pyright = {
672+ settings = {
673+ python = {
674+ analysis = {
675+ autoSearchPaths = true ,
676+ useLibraryCodeForTypes = true ,
677+ diagnosticMode = ' workspace' , -- or "openFilesOnly" if you prefer less noise
678+ typeCheckingMode = ' basic' , -- options: off, basic, strict
679+ },
680+ },
681+ },
682+ },
664683 -- rust_analyzer = {},
665684 -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
666685 --
You can’t perform that action at this time.
0 commit comments