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;
20 lines
385 B
Plaintext
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
|