Fix harper-ls
This commit is contained in:
parent
3646dbaaa7
commit
77f0e138a9
2 changed files with 11 additions and 9 deletions
2
.envrc
2
.envrc
|
@ -1,3 +1,3 @@
|
||||||
use flake
|
|
||||||
watch_file ./home
|
watch_file ./home
|
||||||
watch_file ./languages
|
watch_file ./languages
|
||||||
|
use flake
|
||||||
|
|
|
@ -14,9 +14,7 @@ let
|
||||||
file = builtins.toFile valeDictionary.filename valeDictionary.content;
|
file = builtins.toFile valeDictionary.filename valeDictionary.content;
|
||||||
};
|
};
|
||||||
typosConfig = {
|
typosConfig = {
|
||||||
default.extendWords =
|
default.extendWords = builtins.listToAttrs (
|
||||||
# dictionary:
|
|
||||||
builtins.listToAttrs (
|
|
||||||
builtins.map (x: {
|
builtins.map (x: {
|
||||||
name = x;
|
name = x;
|
||||||
value = x;
|
value = x;
|
||||||
|
@ -27,11 +25,15 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
helix.language-server = {
|
helix.language-server = {
|
||||||
|
# https://ltex-plus.github.io/ltex-plus/supported-languages.html
|
||||||
ltex-ls-plus = {
|
ltex-ls-plus = {
|
||||||
command = "${pkgs.ltex-ls-plus}/bin/ltex-ls-plus";
|
command = "${pkgs.ltex-ls-plus}/bin/ltex-ls-plus";
|
||||||
config.ltex.dictionary.en-US = dictionary;
|
config.ltex.dictionary.en-US = dictionary;
|
||||||
};
|
};
|
||||||
|
# https://vale.sh/docs/formats/code
|
||||||
vale-ls.command = "${pkgs.vale-ls}/bin/vale-ls";
|
vale-ls.command = "${pkgs.vale-ls}/bin/vale-ls";
|
||||||
|
# https://writewithharper.com/docs/integrations/language-server#Supported-Languages
|
||||||
|
harper-ls.command = "${pkgs.harper}/bin/harper-ls";
|
||||||
};
|
};
|
||||||
treefmt.programs.typos = {
|
treefmt.programs.typos = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue