0
I am trying to use visible markers in vim.
I have the following in my .vimrc
file:
sign define information text=!> linehl=Warning texthl=Error
exe ":sign place 123 line=" . line(.) ."name=information file=" . expand("%:p")
map <F7> :exe ":sign place 123 line=" . line(".") ."name=information file=".expand("%:p")<CR>
But when I open vim I get an error in line exe ":sign etc
line 30:
E15: Invalid expression: .) ."name=information file=" . expand("%:p")
E116: Invalid arguments for function line(.) ."name=information file=" . expand("%:p")
E15: Invalid expression: ":sign place 123 line=" . line(.) ."name=information file=" . expand("%:p")
What is the problem with my syntax?
:s/visible marks/signs – romainl – 2013-06-23T10:18:03.287
@romainl:What is this command? – user65971 – 2013-06-23T10:32:19.757
An inside joke and a comment: you should call them "signs" instead of "visible marks". – romainl – 2013-06-23T11:30:48.803