ath3
787ba4f233
CMake support ( #888 )
2021-10-23 08:57:21 +09:00
Michael Davis
e216e9621e
Enable c-sharp language and highlights ( #861 )
2021-10-17 13:45:09 +09:00
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>
2021-10-16 17:58:04 +09:00
WindSoilder
b42ef0e028
Using pylsp instead of pyls ( #834 )
2021-10-13 11:24:37 +09:00
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>
2021-10-10 22:09:17 +09:00
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
2021-10-08 11:14:12 +09:00
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.
2021-10-08 11:05:30 +09:00
Raphael Megzari
b2195e08b5
languages: add svelte support ( #733 )
...
* languages: add svelte support
* languages: add svelte injections
2021-09-17 11:04:55 +09:00
Raphael Megzari
f871d318c0
add language server for elixir and nix ( #725 )
2021-09-07 23:23:05 +09:00
Blaž Hrastnik
3cbdc057de
lsp: Don't import SymbolServer for Julia anymore, it's not necessary
2021-09-07 13:05:20 +09:00
Blaž Hrastnik
2bef245b7a
At least partly highlight tsx
2021-09-06 15:25:46 +09:00
Blaž Hrastnik
d2b9a5d654
lsp: Update the julia definition
2021-09-06 15:25:46 +09:00
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
2021-09-02 01:08:08 +09:00
oberblastmeister
ae3f936611
Lua support ( #665 )
...
* added submodule
* small changes
* updated some stuff
* remove
* shallow clone
* correct indent
* shallow
* ok
* highlights
* proper captures
2021-09-02 00:54:21 +09:00
oberblastmeister
1586b0eec7
YAML support ( #667 )
...
* added submodule
* remove wrong one
* added highlights
* use property
* add indents
* shallow
2021-09-02 00:16:16 +09:00
voroskoi
f22e0aa2ae
Add zig tree-sitter support ( #631 )
...
* Add initial zig tree-sitter support
* zig/highlights.scm: remove unnecessary queries
* Add zig/indents.toml
2021-08-28 13:32:01 +09:00
Yusuf Bera Ertan
4b45f27a13
feat: add protobuf tree-sitter parser with highlighting queries
2021-08-19 09:54:14 +09:00
Conscat
1158fc4487
Added more cpp filename extensions
2021-08-18 11:56:19 -07:00
Yerlan
fdd6530df7
Adding mjs to JavaScript file type ( #607 )
...
MJS is a file extension for JavaScript modules using standard ES2015+
2021-08-18 09:40:00 +09:00
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
2021-08-17 10:45:29 +09:00
Ivan Tham
aaccc9419a
Add ledger tree-sitter ( #572 )
...
Might need to update later since the current one highlight does not
work very well yet.
2021-08-16 11:03:57 +09:00
Kirawi
b239f0f45f
add java highlighting ( #448 )
2021-08-10 14:09:57 +09:00
Blaž Hrastnik
ba729349b8
languages: Add missing comment token for elixir and nix
2021-08-07 15:04:37 +09:00
Luctius
585d6f8242
Fixes toggle_comment not finding the correct language comment token
2021-07-20 17:10:17 +09:00
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>
2021-07-19 01:33:38 +09:00
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>
2021-07-18 16:56:25 +09:00
wesh
3c31f50116
julia language-server line was plain wrong
2021-07-05 20:28:49 +08:00
wesh
aa70362d20
Add julia support (LSP not working)
2021-07-05 20:28:49 +08:00
Ivan Tham
9fd17d4ff5
Use pep 8 indentation for python
...
Change the default spaces of python indentation to follow pep8 which is the standard.
2021-06-21 08:50:51 -07:00
Ivan Tham
a364d6c383
Add latex
2021-06-16 21:42:05 +09:00
Blaž Hrastnik
278361a086
Only auto-format for certain languages
...
Fixes #53
Fixes #207
2021-06-12 10:20:37 +09:00
Timothy DeHerrera
38073fd64c
Add Nix syntax
2021-06-10 22:01:48 +09:00
Blaž Hrastnik
59f94d13b8
Disable haskell grammar until build issues are resolved
2021-06-07 10:17:25 +09:00
Corey Powell
01dd7b570a
Restored haskell syntax
...
It seems to work
2021-06-05 01:17:44 +08:00
Björn Linse
0e6f007028
LSP: add clangd as server for c/c++
2021-06-03 15:07:50 +02:00
Corey Powell
ca042a4bde
Added elixir syntax
...
Using custom fork for now to get around generating the source files
2021-06-01 21:59:16 -05:00
Blaž Hrastnik
c2e6b9f506
Add typescript support & ts/js indentation queries
2021-06-01 17:55:11 +09:00
Blaž Hrastnik
651d3dec83
Golang uses tabs for indentation.
2021-04-23 18:55:34 +09:00
Blaž Hrastnik
3b90317060
Add window/showMessage / logMessage stubs so gopls fully starts.
2021-04-15 17:34:38 +09:00
Blaž Hrastnik
c1e5733b02
Remove the path specifier.
2021-04-09 18:57:46 +09:00
Blaž Hrastnik
89f81be31b
Add yet more language definitions.
2021-04-07 14:04:13 +09:00
Blaž Hrastnik
fb792c5bca
Add a python language definition.
2021-04-07 13:51:09 +09:00
Blaž Hrastnik
3bab640491
Add c++, js, css, html language definitions.
2021-04-07 13:40:20 +09:00
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.
2021-03-25 15:26:25 +09:00