diff options
| author | Paul Buetow <paul@buetow.org> | 2025-10-17 11:43:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-10-17 11:43:07 +0300 |
| commit | 8c2bc24c557ad04d72496091a091c5f52fdcfa11 (patch) | |
| tree | 9b0faa0016b10be20247b6ebdcda183a14c50a67 | |
| parent | 816e97904513361b6388db9f5c5a49887186e850 (diff) | |
| parent | 32b48ebc930d848f8f90b9cf42418bdb7d04006a (diff) | |
Merge branch 'master' of codeberg.org:snonux/conf
| -rw-r--r-- | dotfiles/fish/conf.d/ai.fish | 1 | ||||
| -rw-r--r-- | dotfiles/fish/conf.d/java.fish | 6 | ||||
| -rw-r--r-- | dotfiles/fish/conf.d/supersync.fish | 2 | ||||
| -rw-r--r-- | dotfiles/helix/languages.toml | 5 |
4 files changed, 13 insertions, 1 deletions
diff --git a/dotfiles/fish/conf.d/ai.fish b/dotfiles/fish/conf.d/ai.fish index 23ce2b2..aa9c9f1 100644 --- a/dotfiles/fish/conf.d/ai.fish +++ b/dotfiles/fish/conf.d/ai.fish @@ -8,6 +8,7 @@ abbr -a aic 'aichat -e' # set -gx COPILOT_MODEL gpt-4.1 # can be changed with aimodels function set -gx COPILOT_MODEL gpt-4o # can be changed with aimodels function set -gx HANDLER copilot +# set -gx HEXAI_PROVIDER copilot # TODO: also reconfigure aichat tool using this function function aimodels diff --git a/dotfiles/fish/conf.d/java.fish b/dotfiles/fish/conf.d/java.fish new file mode 100644 index 0000000..5a4968c --- /dev/null +++ b/dotfiles/fish/conf.d/java.fish @@ -0,0 +1,6 @@ +if test (uname) = Linux + set -gx JAVA_HOME /usr/lib/jvm/java-latest-openjdk + if not test -d $JAVA_HOME + echo "Warning: JAVA_HOME path '$JAVA_HOME' does not exist." + end +end diff --git a/dotfiles/fish/conf.d/supersync.fish b/dotfiles/fish/conf.d/supersync.fish index 356f773..2ea01b6 100644 --- a/dotfiles/fish/conf.d/supersync.fish +++ b/dotfiles/fish/conf.d/supersync.fish @@ -112,3 +112,5 @@ function supersync::is_it_time_to_sync end read -P "It's time to run supersync! Run it? (y/n) " answer; and test "$answer" = y; and supersync end + +abbr -a supersynct 'supersync; track' diff --git a/dotfiles/helix/languages.toml b/dotfiles/helix/languages.toml index 60e6a19..33a3f0d 100644 --- a/dotfiles/helix/languages.toml +++ b/dotfiles/helix/languages.toml @@ -34,6 +34,9 @@ rangeVariableTypes = true [language-server.golangci-lint-lsp] command = "golangci-lint-langserver" +[language-server.ltex-ls] +command = "/home/paul/java/ltex-ls/bin/ltex-ls" + # golangci-lint-langserver depepds/calls golangci-lint # go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest [language-server.golangci-lint-lsp.config] @@ -162,7 +165,7 @@ scope = "source.md" injection-regex = "md|markdown" file-types = ["md", "markdown", "mkd", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", "gmi", "tpl", "txt" ] roots = [".marksman.toml"] -language-servers = [ "marksman", "markdown-oxide", "vale-ls", "hexai-lsp"] +language-servers = [ "marksman", "markdown-oxide", "vale-ls", "hexai-lsp", "ltex-ls"] indent = { tab-width = 2, unit = " " } [[grammar]] |
