dnitro / vim-pug-complete Goto Github PK
View Code? Open in Web Editor NEWVim omni-completion support for pug (formerly jade) template engine
License: Other
Vim omni-completion support for pug (formerly jade) template engine
License: Other
I switch on automatic omni completion through mu-complete
vim plugin. When I write something like li#bh
in empty pug buffer I get
Error detected while processing function pugcomplete#CompletePug[556]..pugcomplete#Collect
IdorClass:
line 138:
E684: list index out of range: 1
I have not dived into CollectIdorClass
function code, just added stub like this in line 1002
before call remove(filelines, headstart-1, headend-1)
:
if headend > len(filelines)
let headend = len(filelines)
endif
getcurpos() was added from Vim 7.4.313, so it's not available in olderversions. Replace getcurpos() with getpos('.') which is no different for thisplugin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.