update helix config
This commit is contained in:
parent
6c7b90ab0c
commit
c819009a0c
5 changed files with 3344 additions and 2 deletions
|
@ -10,8 +10,16 @@ Language Servers to install to get the config to work as is:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo install --git https://github.com/estin/simple-completion-language-server.git
|
cargo install --git https://github.com/estin/simple-completion-language-server.git
|
||||||
|
# after setting up the helix config, run:
|
||||||
|
simple-completion-language-server fetch-external-snippets
|
||||||
|
# and optionally validate the snippets with
|
||||||
|
simple-completion-language-server validate-snippets
|
||||||
|
simple-completion-language-server validate-unicode-input
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This LS uses snippets and mappings for completions. My config uses the suggested [friendly-snippets](https://github.com/rafamadriz/friendly-snippets/) and [vim-unicode-snippets](https://github.com/danielwe/vim-unicode-snippets/blob/master/snippets/_.snippets).
|
||||||
|
|
||||||
|
|
||||||
### Web development
|
### Web development
|
||||||
|
|
||||||
Vuejs, Typescript, Javascript, HTML, CSS
|
Vuejs, Typescript, Javascript, HTML, CSS
|
||||||
|
|
64
dot.config/helix/external-snippets.toml
Normal file
64
dot.config/helix/external-snippets.toml
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
[[sources]]
|
||||||
|
name = "friendly-snippets"
|
||||||
|
git = "https://github.com/rafamadriz/friendly-snippets.git"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["shell"]
|
||||||
|
path = "snippets/shell/shell.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["rust"]
|
||||||
|
path = "snippets/rust/rust.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["ruby"]
|
||||||
|
path = "snippets/ruby/ruby.json"
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["ruby"]
|
||||||
|
path = "snippets/frameworks/rails.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["python"]
|
||||||
|
path = "snippets/python/python.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["php"]
|
||||||
|
path = "snippets/php/php.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["latex"]
|
||||||
|
path = "snippets/latex/latex-snippets.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["javascript"]
|
||||||
|
path = "snippets/javascript/javascript.json"
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["javascript"]
|
||||||
|
path = "snippets/javascript/jsdoc.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["typescript"]
|
||||||
|
path = "snippets/javascript/typescript.json"
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["typescript"]
|
||||||
|
path = "snippets/javascript/tsdoc.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["docker"]
|
||||||
|
path = "snippets/docker/docker-compose.json"
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["docker"]
|
||||||
|
path = "snippets/docker/docker_file.json"
|
||||||
|
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["vue"]
|
||||||
|
path = "snippets/frameworks/vue/vue.json"
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["vue"]
|
||||||
|
path = "snippets/frameworks/vue/html.json"
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["vue"]
|
||||||
|
path = "snippets/frameworks/vue/script.json"
|
||||||
|
[[sources.paths]]
|
||||||
|
scope = ["vue"]
|
||||||
|
path = "snippets/frameworks/vue/style.json"
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
npm i -g typescript typescript-language-server vscode-langservers-extracted emmet-ls @vue/language-server yaml-language-server
|
|
0
dot.config/helix/snippets/.keep
Normal file
0
dot.config/helix/snippets/.keep
Normal file
3272
dot.config/helix/unicode-input/extended.toml
Normal file
3272
dot.config/helix/unicode-input/extended.toml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue