freelance-project-34-market.../dotfiles/.py3.vimrc
Siarhei Siniak cf2476ec28 [+] update vim, pydantic
1. refactor python vim module;
  1.1. experiment
    with fast select based on popup in vim,
    and multi threaded app in python;
  1.2. TODO,
    figure out some thread safe way
    to call vim.command from python side threads;
  1.3. update pydantic validate params;
2025-10-12 00:29:01 +03:00

20 lines
385 B
Plaintext

py3file ~/.module.vimrc.py
augroup EditorConfigModeline
autocmd!
autocmd BufEnter * python3 EditorConfigModeline.singleton().on_buffer()
augroup END
function! F5(pattern, flags, info)
let res = py3eval(
\'f5_1(
\vim.bindeval("a:pattern").decode("utf-8"),
\vim.bindeval("a:flags"),
\vim.bindeval("a:info")
\)'
\)
return res
endfunc
set tagfunc=F5