update helix config

main
Norman Köhring 3 months ago
parent 6c7b90ab0c
commit c819009a0c

@ -10,8 +10,16 @@ Language Servers to install to get the config to work as is:
```sh
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
Vuejs, Typescript, Javascript, HTML, CSS

@ -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

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save