GithubHelp home page GithubHelp logo

Comments (4)

oblitum avatar oblitum commented on July 23, 2024 1

I've isolated the issue, this line alone cause the parser to choke:

write ++enc=utf-8

Just put it on a file and call the parser for it (node vimlparser.js ./foo.vim).

format.vim contains a variation:

new ++enc=utf-8

It's the only two plugins that have ++enc in their sources.

from vim-vimlparser.

iamcco avatar iamcco commented on July 23, 2024 1

I have create pr to fix the issue #145

from vim-vimlparser.

oblitum avatar oblitum commented on July 23, 2024

heh, that's big plugin huh? It's reason why I only load it on demand.

Plug 'oblitum/frawor', {'on': []}
Plug 'oblitum/formatvim', {'on': []}
...
" :[range]Blocks                       | gist it to bl.ocks.org {{{
function! s:blocks() range abort
  call plug#load('frawor', 'formatvim')
  ...
endfunction

command! -range=% Blocks <line1>,<line2>call s:blocks()
" }}}

from vim-vimlparser.

oblitum avatar oblitum commented on July 23, 2024

I think it's not due to plugin size, vim-fugitive/autoload/fugitive.vim is 5603 lines long for example, and node vimlparser.js --neovim vim-fugitive/autoload/fugitive.vim doesn't choke. I just applied the command to all vim files in my ~/.vim/plugged directory and vimlparser.js chokes on two files, the already mentioned 4k long format.vim, but also on this one:

https://github.com/echuraev/translate-shell.vim/blob/master/autoload/common/history.vim

Which is just 209LoC.

from vim-vimlparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.