mjbrownie / swapit

vim plugin: Extensible Keyword Swapper
39 stars 8 forks source link

make css omnicomplete a filetype callback #2

Closed mjbrownie closed 15 years ago

mjbrownie commented 15 years ago

The css omnicomplete is currently in the main swapword function.

Turn this into a callback function that is housed in

~/.vim/after/ftype/css_swapit.vim

which gets sourced on file opening.

That way other filetypes can have the same functionality

mjbrownie commented 15 years ago

This functionality is being implemented in the pluggable-omnicomplete branch

mjbrownie commented 15 years ago

.