oscarh / vimerl Goto Github PK
View Code? Open in Web Editor NEWA set of erlang plugins for VIM. This is not maintained, better use som modern fork of this!
A set of erlang plugins for VIM. This is not maintained, better use som modern fork of this!
when using vimerl compared to the erlang syntax highlighter that comes with vim edoc strings like @doc are no longer highlighted
:: makes vim believe that it's a module followed by a function...
When attempting to auto-complete something like global:register_name from global:register_, the omni completion finishes with _name, but in the popup displays the following:
zsh:1: no matches found: /usr/lib/erlang/man/man?/global.? f
zsh:1: no matches found: /usr/lib/erlang/man/man?/global.? f
zsh:1: no matches found: /usr/lib/erlang/man/man?/global.? f
zsh:1: no matches found: /usr/lib/erlang/man/man?/global.? f
I get this when I open an erlang file. Afterwards, it works ok, but I've never even tried to compile an .erl file from Vim, so I wouldn't know if this is a big problem.
Something about the code to split function heads does not work correctly. I haven't been able to trace the problem myself. but it is definitely in those if blocks because it works fine when you don't set the variable.
In the kTT branch, a commit was cherry-picked to avoid compiling the file every time the buffer is entered since this is slow. However, this causes the script to fail, since some buffer variables aren't always initialized...
I've temporary solved this by wrapping the body of show_msg in if exists('b:error_list') but I don't feel this is the right approach...
I believe a new line after a comma should not be indented if the comma separates statements:
io:format("Next line is not flushed~n"),
io:format("But it is~n"); % <-- wrong
Hej,
I can't see where erlangFun for syntax highlighting is used. In fact, all my fun declarations are as normal text. Is this intended?
When using pathogen, it's recommended to clone the submodule into /.vim/bundle/project. The autocompletion has set the default path for completion as "/.vim/autoload/erlang_completion.vim", which doesn't exist when cloned as submodule into bundle/.
If you can get the current script path from vimL, you could use the relative path from the script.
" Pseudo
dirname($script)/erlang_completion.erl
This is because atom, that are obvious module or function names shouldn't be highlighted. This has been implemented by adding a %(\s*[(:])@! after the atom... however, this also catches "::"...
Didn't come up with a quick solution so I'll post this here instead.
In README, I see this:
Set the location of the Wrangler tool: (default: "/usr/share/wrangler/")
g:erlangWranglerPath
Do you mean i add a line like this to ~/.vimrc.
g:erlangWranglerPath = path/to/wrangler.
See my issue report over on the YCM project.
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.