aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgyoder <70408179+gyoder@users.noreply.github.com>2025-07-05 23:24:40 -0600
committergyoder <70408179+gyoder@users.noreply.github.com>2025-07-05 23:24:40 -0600
commitf67e62bf40b10df6fda0093ef220d130eaae91ba (patch)
treebed9fc9a07aa0fdd926b4af17cfc5f9dac3cdd19
parentdeb27f8c81622c32c324c7c755bea559e50434e7 (diff)
fish: updated starshipt
-rw-r--r--fish/.config/starship.toml2
-rw-r--r--vim/.config/nvim/lsp/textlsp.lua48
-rw-r--r--vim/.config/nvim/lua/native-lsp.lua8
-rw-r--r--vim/.config/nvim/lua/plugins/init.lua2
-rw-r--r--vim/.config/nvim/spell/en.utf-8.add3
-rw-r--r--vim/.config/nvim/spell/en.utf-8.add.splbin0 -> 78 bytes
6 files changed, 61 insertions, 2 deletions
diff --git a/fish/.config/starship.toml b/fish/.config/starship.toml
index 062a623..ac57dee 100644
--- a/fish/.config/starship.toml
+++ b/fish/.config/starship.toml
@@ -90,7 +90,7 @@ ssh_symbol = ' '
[username]
disabled = false
format = "[](fg:overlay)[ 󰧱 $user ]($style)[](fg:overlay) "
-show_always = false
+show_always = true
style_root = "bg:overlay fg:iris"
style_user = "bg:overlay fg:iris"
diff --git a/vim/.config/nvim/lsp/textlsp.lua b/vim/.config/nvim/lsp/textlsp.lua
new file mode 100644
index 0000000..a1dbfc8
--- /dev/null
+++ b/vim/.config/nvim/lsp/textlsp.lua
@@ -0,0 +1,48 @@
+return {
+ cmd = {"textlsp"}, -- You may need to provide the full path to textlsp if not in $PATH
+ filetypes = { "markdown", "org", "latex", "txt", "md", "markdown" }, -- and any other you want as plain text
+ root_markers = {
+ ".git",
+ },
+ single_file_support = true,
+ capabilities = {
+ textDocument = {
+ completion = {
+ editsNearCursor = true,
+ },
+ },
+ -- textLSP does not require offsetEncoding, but you may include it for consistency:
+ offsetEncoding = { "utf-8", "utf-16" },
+ },
+ settings = {
+ textLSP = {
+ analysers = {
+ languagetool = {
+ enabled = false,
+ -- check_text = {
+ -- on_open = true,
+ -- on_save = true,
+ -- on_change = false,
+ -- },
+ },
+ ollama = {
+ enabled = true,
+ check_text = {
+ on_open = false,
+ on_save = true,
+ on_change = false,
+ },
+ model = "phi3:3.8b-instruct",
+ max_token = 50,
+ },
+ -- enable and configure other analyzers as desired
+ },
+ documents = {
+ language = "auto:en",
+ min_length_language_detect = 20,
+ org = { org_todo_keywords = { "TODO", "IN_PROGRESS", "DONE" } },
+ txt = { parse = true },
+ },
+ },
+ },
+}
diff --git a/vim/.config/nvim/lua/native-lsp.lua b/vim/.config/nvim/lua/native-lsp.lua
index cf3e348..7379157 100644
--- a/vim/.config/nvim/lua/native-lsp.lua
+++ b/vim/.config/nvim/lua/native-lsp.lua
@@ -54,6 +54,14 @@ vim.lsp.enable("gopls")
vim.lsp.enable("tinymist")
+
+vim.lsp.config('textlsp', {
+ on_attach = function()
+ print('textlsp is now active in this file')
+ end,
+})
+vim.lsp.enable("textlsp")
+
-- https://lsp-zero.netlify.app/blog/lsp-client-features.html
vim.opt.completeopt = {'menu', 'menuone', 'noselect', 'noinsert'}
diff --git a/vim/.config/nvim/lua/plugins/init.lua b/vim/.config/nvim/lua/plugins/init.lua
index 239c3a4..43557c4 100644
--- a/vim/.config/nvim/lua/plugins/init.lua
+++ b/vim/.config/nvim/lua/plugins/init.lua
@@ -16,7 +16,7 @@ local packer_bootstrap = ensure_packer()
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
- use "neovim/nvim-lspconfig"
+ -- use "neovim/nvim-lspconfig"
use {
'maxmx03/solarized.nvim',
diff --git a/vim/.config/nvim/spell/en.utf-8.add b/vim/.config/nvim/spell/en.utf-8.add
new file mode 100644
index 0000000..23341ae
--- /dev/null
+++ b/vim/.config/nvim/spell/en.utf-8.add
@@ -0,0 +1,3 @@
+WIP
+Hardcoded
+HTMLua
diff --git a/vim/.config/nvim/spell/en.utf-8.add.spl b/vim/.config/nvim/spell/en.utf-8.add.spl
new file mode 100644
index 0000000..cf43123
--- /dev/null
+++ b/vim/.config/nvim/spell/en.utf-8.add.spl
Binary files differ