Change the color of line in buffer using Vim+Python -


i'm using vim python writing plugin, want know how can change color of line number based on vim.buffers vim module , execute commands specific buffer. skimmed through documentation , tried find methods execute commands specific buffer couldn't find it.

any idea how can this?

in vim there no 1 solution... think simple solution.

function! testing_highlight()     highlight mypattern ctermbg=red ctermfg=blue      python << eof     vim import *      myline = 4      eval("matchadd('mypattern', '\%" + str(myline) + "l', 100)")     eof endfunction 

Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -