grace/dots
dotfiles/nix configs
git clone https://git.gae.moe/grace/dots
ddf0c79
wafrn-testing
1return { 2cmd ={ "textlsp" } , -- You may need to provide the full path to textlsp if not in $PATH 3filetypes ={ "markdown" , "org" , "latex" , "txt" , "md" , "markdown" } , -- and any other you want as plain text 4root_markers ={ 5".git" , 6} , 7single_file_support =true , 8capabilities ={ 9textDocument ={ 10completion ={ 11editsNearCursor =true , 12} , 13} , 14-- textLSP does not require offsetEncoding, but you may include it for consistency: 15offsetEncoding ={ "utf-8" , "utf-16" } , 16} , 17settings ={ 18textLSP ={ 19analysers ={ 20languagetool ={ 21enabled =false , 22-- check_text = { 23-- on_open = true, 24-- on_save = true, 25-- on_change = false, 26-- }, 27} , 28ollama ={ 29enabled =true , 30check_text ={ 31on_open =false , 32on_save =true , 33on_change =false , 34} , 35model ="phi3:3.8b-instruct" , 36max_token =50 , 37} , 38-- enable and configure other analyzers as desired 39} , 40documents ={ 41language ="auto:en" , 42min_length_language_detect =20 , 43org ={ org_todo_keywords ={ "TODO" , "IN_PROGRESS" , "DONE" } } , 44txt ={ parse =true } , 45} , 46} , 47} , 48}