vim-fz icon indicating copy to clipboard operation
vim-fz copied to clipboard

VimLang suggestion

Open iasj opened this issue 2 years ago • 4 comments

Hi there. Great plugin.

Suggestion when using the function type(). Use the v:t_<type> built-in variables. Like this:

if type("hello") == v:t_string
  echo "it's a string"
endif

Take a look at :help type().

iasj avatar Jul 24 '21 22:07 iasj

It isn’t supported in som older version of vim/neocon hence uses type() function.

prabirshrestha avatar Jul 25 '21 03:07 prabirshrestha

They should have thought that straight from the beginning.

Come to mention it, do people still use older versions of Vim? I've been planing to implement Vim support for my plugin. Did you ever get a problem like that?

iasj avatar Jul 25 '21 23:07 iasj

I have got a lot of issues with vim-lsp and asyncomplete. It is primarily due to folks using stock vim that comes with linux distros that is usually not up to date.

prabirshrestha avatar Jul 25 '21 23:07 prabirshrestha

Good to know. I think I'll just stay on the Neovim realm for now.

iasj avatar Jul 25 '21 23:07 iasj