valpackett / intero.nvim Goto Github PK
View Code? Open in Web Editor NEWHaskell+Neovim lightning fast autocompletion and other IDE functionality
License: The Unlicense
Haskell+Neovim lightning fast autocompletion and other IDE functionality
License: The Unlicense
Do you think it'd be possible to rewrite this to be compatible with vanilla Intero, or to try to get your server code merged into vanilla Intero? Building and managing separate packages is kind of a pain.
I'm not able to get intero.nvim to run... I've installed it, and have it running in my project root, but when I try to use any of the functions from nvim it just gives me a error:
Error detected while processing function intero#uses[1]..intero#ranged[3]..intero#util#get_visual_selection:
line 5:
E684: list index out of range: -1
E15: Invalid expression: lines[-1][:col2 - 2]
line 6:
E684: list index out of range: 0
E15: Invalid expression: lines[0][col1 - 1:]
Error detected while processing function intero#uses[1]..intero#ranged[7]..intero#ensureconn[5]..15:
line 1:
Channel was closed by the client
atondwal@hertz|
± intero --version
Intero 0.1.18
atondwal@hertz|~/research/weimer/liquid/liquid-fixpoint on interp!?
± nvim --version
NVIM 0.1.5
Build type: RelWithDebInfo
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wconversion -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim/src/build/config -I/build/neovim/src/neovim-0.1.5/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neovim/src/build/include
Compiled by builduser
Optional features included (+) or not (-): +acl +iconv +jemalloc +tui
For differences from Vim, see :help vim-differences
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
When I select a function/code manually and call InteroType, the last letter of the selection is removed. The issue is in here with the '- 2' at the end. There is an updated version of this code snippet here: http://stackoverflow.com/a/6271254
In the current version to make it behave correctly I need to select the function and the next char.
A deoplete backend would be great. It's often more pleasant then working via omnifunc.
After I do any of
:InteroType
:InteroGoto
(and fail):InteroUses
the cursor gets sent to the beginning of the line. It would be if it gets placed were it was before.
For :InteroType
, this is not such a big issue, since I can simply make a mark and reset to there, but with InteroGoto, I'd have to figure out whether it worked or not. (I don't really want to jump back if I actually went to the definition. That kinda defeats the purpose :D)
At the moment, only :InteroTypeStr
does not exhibit this behaviour.
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.