1
0
mirror of https://github.com/helix-editor/helix.git synced 2024-12-23 16:31:55 +04:00
Commit Graph

13 Commits

Author SHA1 Message Date
unrelentingtech
030e7ab988
fix(docs): cleanup obsolete indents.toml mentions () 2022-04-29 12:40:59 -05:00
Michael Davis
3d79c60a1f
Rewrite Language Support docs () 2022-04-10 23:20:05 +05:30
Michael Davis
78b1600943
Improve documentation on Language Server installation () 2022-04-09 12:17:32 +05:30
Michael Davis
7044d7d804 rename '--fetch/build-grammars' flags into '--grammar fetch/build'
The old flags were a bit long. --grammar is also aliased to -g to make
it even easier.
2022-03-10 17:31:57 +09:00
Michael Davis
4fc991fdec migrate grammar fetching/building code into helix-loader crate
This is a rather large refactor that moves most of the code for
loading, fetching, and building grammars into a new helix-loader
module. This works well with the [[grammars]] syntax for
languages.toml defined earlier: we only have to depend on the types
for GrammarConfiguration in helix-loader and can leave all the
[[language]] entries for helix-core.
2022-03-10 17:31:57 +09:00
Michael Davis
8081e9f052 replace all submodule documentation with flags documentation 2022-03-10 17:31:57 +09:00
Matouš Dzivjak
0e7d757869
feat(lsp): configurable diagnostic severity ()
* feat(lsp): configurable diagnostic severity

Allow severity of diagnostic messages to be configured.
E.g. allow turning of Hint level diagnostics.

Fixes: https://github.com/helix-editor/helix/issues/1007

* Use language_config() method

* Add documentation for diagnostic_severity

* Use unreachable for unknown severity level

* fix: documentation for diagnostic_severity config
2021-12-25 14:32:43 +09:00
Gokul Soumya
176fbe760a
docs: Add note about tree-sitter query precedence () 2021-12-21 11:03:44 +09:00
George Rodrigues
3e15aead4a
Fix typo on docs () 2021-12-01 09:11:25 +09:00
ath3
77dbbc73f9
Detect filetype from shebang line () 2021-11-09 00:19:44 +09:00
Gokul Soumya
e0e227d172
Touch up docs for adding new language () 2021-11-08 09:52:51 +09:00
Blaž Hrastnik
29fe504398
book: Mention git submodule sync too 2021-11-07 10:33:05 +09:00
ammkrn
acced82be6
feat(book/src/languages.md) ()
* feat(book/src/languages.md)

Add a section in the book about language-specific settings and the languages.toml file.

* Update book/src/languages.md

Co-authored-by: Gokul Soumya <gokulps15@gmail.com>

* feat(book/src/guides/adding_languages.md)

Add book section on adding a new language to the compile-time/root languages.toml file.

* Update book/src/guides/adding_languages.md

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>

* Update book/src/guides/adding_languages.md

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>

* refactor(revise book/src/languages.md)

Change the book page on language settings to match suggestions by archseer and mention both toml files.

Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2021-11-07 10:31:12 +09:00