# HG changeset patch # User Luka Sitas # Date 1764942529 18000 # Node ID 412c33afd3950c2ff037f03a14137986e3b3af5c # Parent d30762aa23dd93cbf3aa2c1b82825b0348eaa742 Update for core and some minor fixes diff -r d30762aa23dd -r 412c33afd395 .vimrc --- a/.vimrc Tue Dec 02 19:44:32 2025 -0500 +++ b/.vimrc Fri Dec 05 08:48:49 2025 -0500 @@ -8,6 +8,7 @@ colorscheme desert " Support for tags closing and classes +source $HOME/.vim/plugins/core/core.vim source $HOME/.vim/plugins/vim-ai.vim source $HOME/.vim/plugins/taghelp.vim source $HOME/.vim/plugins/dbtables/dbtables.vim diff -r d30762aa23dd -r 412c33afd395 plugins/core/core.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/core/core.vim Fri Dec 05 08:48:49 2025 -0500 @@ -0,0 +1,17 @@ +function PopupCommand(command) + let buf = term_start(a:command, {'hidden': 1, 'term_finish': 'close'}) + let winid = popup_create(buf, {'minwidth': 120, 'minheight': 28}) +endfunction + +function! ReadOnlyPopup(content) + let lines = split(a:content, "\n") + let winid = popup_create(lines, {'minwidth':120, 'minheight':28}) + let buf = winbuf(winid) + call setbufvar(buf, '&modifiable', 0) + call setbufvar(buf, '&bufhidden', 'wipe') +endfunction + +function! ExecuteCommand(command) + " a:command is a shell command string, e.g. 'hg status' + return system(a:command . ' 2>&1') +endfunction diff -r d30762aa23dd -r 412c33afd395 plugins/hghelp/hghelp.vim --- a/plugins/hghelp/hghelp.vim Tue Dec 02 19:44:32 2025 -0500 +++ b/plugins/hghelp/hghelp.vim Fri Dec 05 08:48:49 2025 -0500 @@ -1,16 +1,6 @@ let g:hg_format_command = "" -function PopupCommand(command) - let buf = term_start(a:command, {'hidden': 1, 'term_finish': 'close'}) - let winid = popup_create(buf, {'minwidth': 120, 'minheight': 28}) -endfunction - -function! ExecuteCommand(command) - " a:command is a shell command string, e.g. 'hg status' - return system(a:command . ' 2>&1') -endfunction - function! s:CommitWithFormat() wa if exists("g:hg_format_command") && !empty(g:hg_format_command) @@ -21,6 +11,7 @@ call PopupCommand('hg commit') endfunction + function! s:OpenHgDiff(file) let l:current_file = a:file !=# '' ? a:file : expand('%') let l:filetype = &filetype diff -r d30762aa23dd -r 412c33afd395 plugins/vim-ai/roles.ini --- a/plugins/vim-ai/roles.ini Tue Dec 02 19:44:32 2025 -0500 +++ b/plugins/vim-ai/roles.ini Fri Dec 05 08:48:49 2025 -0500 @@ -33,5 +33,5 @@ Reasoning: low options.endpoint_url = http://127.0.0.1:8080/v1/chat/completions -options.reasoning_effort = none +options.reasoning_effort = low options.auth_type = none