glts / vim-j Goto Github PK
View Code? Open in Web Editor NEWVim runtime files for J
License: Vim License
Vim runtime files for J
License: Vim License
A bullet-proof method is impossible, but basic jumps from someverb=: verb define
to )
etc. should be easy.
Steve Losh has a tutorial at http://learnvimscriptthehardway.stevelosh.com/chapters/51.html.
Line 49 in 6799cd9
Hrm. What was I thinking?
With :set foldmethod=syntax
explicit definitions should be folded away.
This is trivial for explicit verbs/adverbs/conjunctions: just add fold
.
For explicit nouns, however, this doesn't work, because an explicit noun definition is split into two syntax regions. I don't know a good solution yet.
The settings
setlocal shiftwidth=2
setlocal softtabstop=2
setlocal expandtab
perhaps shouldn't be set in the ftplugin. Many good-quality filetype plugins don't set the ts
/sts
/sw
/et
settings, and they are probably right. As it is, the user would have to override these settings in an after
file.
Some good filetype plugins do set these settings, but they do so in the indent file.
Things like monad
, define
, etc., and standard library string functions etc. etc. are not highlighted.
Technically, these things have no special status in the language. They can be redefined or overwritten by the user at any time. But of course, people should not normally overwrite standard library stuff, and if they do, it is probably in error. Highlighting would help here.
Fractions of pi like 1r2p1
(ฯ/2) aren't highlighted correctly.
Apparently I overlooked these when I composed the super complicated number regexp. Fractions of pi aren't so rare. For example, they are useful when doing calculations in radians, 1r2p1 1p1 3r2p1 2p1
.
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.