https://bugs.kde.org/show_bug.cgi?id=454982

            Bug ID: 454982
           Summary: Cannot override /add to LSP settings in
                    $HOME/.config/kate/lspclient/settings.json
           Product: kate
           Version: 22.04.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
When I add pycodestyle configuration to the User settings tab, (saved in
$HOME/.config/kate/lspclient/settings.json) as suggested in the Kate LSPClient
documentation page
(https://docs.kde.org/stable5/en/kate/kate/kate-application-plugin-lspclient.html)
the pycodestyle beahaviour doesn't change.

When I add a pycodestyle configuration in $HOME/.config/pycodestyle, all
configuration is accepted and handled correctly.

STEPS TO REPRODUCE
1.  Enable LSPClient plugin, install pycodestyle
2. Add this to the User Server Settings tab in the LSP Client plugin
configuration:
{
  "servers": {
    "python": {
       "settings": {
          "pyls": {
             "plugins": {
                "pycodestyle": {
                   "enabled": true,
                   "ignore": [
                      "E111"
                   ],
                   "max-line-length": 100
                }
              }
           }
        }
     }
  }
}

OBSERVED RESULT
No changes in pycodestyle behaviour, lines longer than the default 79 are
marked

EXPECTED RESULT
Only lines longer than 100 characters marked by pycodestyle

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Kernel Version: 5.18.2 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to