mattn / vim-fz

Ultra Fast Fuzzy Finder for Vim8
MIT License
64 stars 2 forks source link

VimLang suggestion #33

Open iasj opened 3 years ago

iasj commented 3 years ago

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().

prabirshrestha commented 3 years ago

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

iasj commented 3 years ago

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?

prabirshrestha commented 3 years ago

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.

iasj commented 3 years ago

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