Commit Graph

6 Commits

Author SHA1 Message Date
dundargoc
883bd793b4 build(editorconfig): set max_line_length to 120 only for lua files
Setting it for all filetypes is usually not correct. For example, git
commits are also affected by this option which makes 120 columns too
long.
2024-12-01 14:33:40 +01:00
Justin M. Keyes
e6569c18c2
feat(lspinfo): replace :LspInfo with :checkhealth #3339
Problem:
:LspInfo has its own "inner platlform" of highlights, mappings etc. And
it doesn't integrate with :checkhealth.

Solution:
- Move the lspinfo code to a healthcheck.
- LspInfo features such as highlights, "floating window" presentation,
  etc., should be added to :checkhealth in Nvim core, if they are really
  needed.
- Define a "q" mapping until Nvim stable has that in :checkhealth.
2024-10-02 06:57:18 -07:00
Justin M. Keyes
ae7698f4fe
feat: expose config definition as config_def #3335
Problem:
Users/plugins may want to use the config definition without actually
activating the config via setup().

Solution:
- Expose `config_def` field and document it.
- Also undeprecate some stuff that doesn't yet have a documented
  alternative.

TODO: configs.lua sets `M.filetypes = config.filetypes` and other fields
in ad-hoc fashion "for :LspInfo" but it's not clear when those fields
are actually populated, and they don't source from `config_def`...
2024-10-02 02:50:41 -07:00
Zhizhen He
c6105c4496
chore: remove redundant config for Lua (#2523) 2023-03-23 16:35:08 +08:00
Daniel M. Capella
139ac76df1
chore: add lua to .editorconfig (#1189) 2021-08-25 22:37:50 -04:00
Matthieu Coudron
45e639d9bb added neovim's editorconfig 2020-02-13 18:08:45 +01:00