News for hackers. Stuff that matters.
Re:Mastering Emacs by zelphirkalt on Thursday August 24, 2023 @04:25AM (#37246347)
I counted the number of config lines it takes in Emacs to get LSP fo Python:

Maybe 2 lines, if you otherwise would not use company-mode.

1 line requiring lsp-mode.

1 line setting lsp diagnostics provider.

1 line adding lsp mode to python-mode-hook.

2 lines enabling the linter (if you want that) (I use flake8).

2 lines for setting an additional shortcut.

23 completely optional lines for marking some variables from .dir-locals as accepted/safe.

1 optional line for changing the color of the breadcrumbs header line.

Approximately 2/3 of a page, including all optional config I have.

There are no comments on this comment yet.