Commit Graph

521 Commits (main)

Author SHA1 Message Date
Luctius 585d6f8242 Fixes toggle_comment not finding the correct language comment token 3 years ago
Cor Peters cd65a48635
Made toggle_comments language dependent (#463)
* Made toggle_comments language dependent

* Fixed Test Cases

* Added clippy suggestion

* Small Fixes

* Clippy Suggestion

Co-authored-by: Cor <prive@corpeters.nl>
3 years ago
Cor Peters 0aa43902ca
Added option to provide a custom config file to the lsp. (#460)
* Added option to provide a custom config file to the lsp.

* Simplified lsp loading routine with anyhow

* Moved config to language.toml

* Fixed test case

* Cargo fmt

* Revert now-useless changes

* Renamed custom_config to config

Co-authored-by: Cor <prive@corpeters.nl>
3 years ago
wesh 3c31f50116 julia language-server line was plain wrong 3 years ago
wesh aa70362d20 Add julia support (LSP not working) 3 years ago
Ivan Tham 9fd17d4ff5 Use pep 8 indentation for python
Change the default spaces of python indentation to follow pep8 which is the standard.
3 years ago
Ivan Tham a364d6c383 Add latex 3 years ago
Blaž Hrastnik 278361a086 Only auto-format for certain languages
Fixes #53
Fixes #207
3 years ago
Timothy DeHerrera 38073fd64c Add Nix syntax 3 years ago
Blaž Hrastnik 59f94d13b8 Disable haskell grammar until build issues are resolved 3 years ago
Corey Powell 01dd7b570a Restored haskell syntax
It seems to work
3 years ago
Björn Linse 0e6f007028 LSP: add clangd as server for c/c++ 3 years ago
Corey Powell ca042a4bde Added elixir syntax
Using custom fork for now to get around generating the source files
3 years ago
Blaž Hrastnik c2e6b9f506 Add typescript support & ts/js indentation queries 3 years ago
Blaž Hrastnik 651d3dec83 Golang uses tabs for indentation. 3 years ago
Blaž Hrastnik 3b90317060 Add window/showMessage / logMessage stubs so gopls fully starts. 3 years ago
Blaž Hrastnik c1e5733b02 Remove the path specifier. 3 years ago
Blaž Hrastnik 89f81be31b Add yet more language definitions. 3 years ago
Blaž Hrastnik fb792c5bca Add a python language definition. 3 years ago
Blaž Hrastnik 3bab640491 Add c++, js, css, html language definitions. 3 years ago
Blaž Hrastnik e3c4edae32 Add the machinery to load syntax config from TOML.
It's embedded into the binary at build time for now, but it's progress.
3 years ago