ath3
787ba4f233
CMake support ( #888 )
3 years ago
Michael Davis
e216e9621e
Enable c-sharp language and highlights ( #861 )
3 years ago
Michael Davis
e069fb9dea
Add highlight support for tree-sitter-query language (tsq) ( #845 )
...
* add submodule on tree-sitter/tree-sitter-tsq
mark tsq submodule as shallow
* add tree-sitter-tsq to languages
* add highlight queries for tsq
* Update .gitmodules
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
WindSoilder
b42ef0e028
Using pylsp instead of pyls ( #834 )
3 years ago
Thomas Wehmöller
a7f49fa56f
Add Vue tree sitter grammar ( #787 )
...
* ✨ Add vue tree sitter support
* Update .gitmodules
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
Midnight Exigent
eedcea7e6b
Allow `language.config` (in languages.toml) to be passed in as a toml object ( #807 )
...
* allow language.config (in languages.toml) to be passed in as a toml object
* Change config field for languages from json string to toml object
* remove indents on languages.toml config
* fix: remove patch version from serde_json import in helix-core
* Use same tree-sitter-zig as upstream/master
3 years ago
James Cash
2e692dc184
Add (SWI-)Prolog LSP support ( #816 )
...
As discussed in #809 ; I also have a [tree-sitter implementation](https://github.com/jamesnvc/tree-sitter-prolog ), but for reasons discussed in the linked post, I kind of gave up on that sort of static approach for making a general-purpose Prolog grammar (since it has a very flexible syntax and allows defining new operators with new precedences dynamically).
That being said, the LSP implementation here at least shows documentation and does support the semantic token API, so when Helix supports that, this should also provide highlighting.
3 years ago
Raphael Megzari
b2195e08b5
languages: add svelte support ( #733 )
...
* languages: add svelte support
* languages: add svelte injections
3 years ago
Raphael Megzari
f871d318c0
add language server for elixir and nix ( #725 )
3 years ago
Blaž Hrastnik
3cbdc057de
lsp: Don't import SymbolServer for Julia anymore, it's not necessary
3 years ago
Blaž Hrastnik
2bef245b7a
At least partly highlight tsx
3 years ago
Blaž Hrastnik
d2b9a5d654
lsp: Update the julia definition
3 years ago
oberblastmeister
5766f5da8f
OCaml support ( #666 )
...
* added some stuff
* add interface
* indent
* highlights and locals
* scope
* change some stuff
* add indents
* fix blanket highlight
* macro
* use inherits
3 years ago
oberblastmeister
ae3f936611
Lua support ( #665 )
...
* added submodule
* small changes
* updated some stuff
* remove
* shallow clone
* correct indent
* shallow
* ok
* highlights
* proper captures
3 years ago
oberblastmeister
1586b0eec7
YAML support ( #667 )
...
* added submodule
* remove wrong one
* added highlights
* use property
* add indents
* shallow
3 years ago
voroskoi
f22e0aa2ae
Add zig tree-sitter support ( #631 )
...
* Add initial zig tree-sitter support
* zig/highlights.scm: remove unnecessary queries
* Add zig/indents.toml
3 years ago
Yusuf Bera Ertan
4b45f27a13
feat: add protobuf tree-sitter parser with highlighting queries
3 years ago
Conscat
1158fc4487
Added more cpp filename extensions
3 years ago
Yerlan
fdd6530df7
Adding mjs to JavaScript file type ( #607 )
...
MJS is a file extension for JavaScript modules using standard ES2015+
3 years ago
Yerlan
a2cd9cce9d
Adding INO to C++ file type ( #596 )
...
INO is file extension for C++ files used in Arduino sketches.
Reference: https://www.arduino.cc/en/Guide/Environment
3 years ago
Ivan Tham
aaccc9419a
Add ledger tree-sitter ( #572 )
...
Might need to update later since the current one highlight does not
work very well yet.
3 years ago
Kirawi
b239f0f45f
add java highlighting ( #448 )
3 years ago
Blaž Hrastnik
ba729349b8
languages: Add missing comment token for elixir and nix
3 years ago
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++
4 years ago
Corey Powell
ca042a4bde
Added elixir syntax
...
Using custom fork for now to get around generating the source files
4 years ago
Blaž Hrastnik
c2e6b9f506
Add typescript support & ts/js indentation queries
4 years ago
Blaž Hrastnik
651d3dec83
Golang uses tabs for indentation.
4 years ago
Blaž Hrastnik
3b90317060
Add window/showMessage / logMessage stubs so gopls fully starts.
4 years ago
Blaž Hrastnik
c1e5733b02
Remove the path specifier.
4 years ago
Blaž Hrastnik
89f81be31b
Add yet more language definitions.
4 years ago
Blaž Hrastnik
fb792c5bca
Add a python language definition.
4 years ago
Blaž Hrastnik
3bab640491
Add c++, js, css, html language definitions.
4 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.
4 years ago