Giter Site home page Giter Site logo

intero.nvim's People

Contributors

kovdavid avatar valpackett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

intero.nvim's Issues

Intero compatibility

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.

Channel was closed by the client

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"

InteroType strips away last char

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.

Deoplete backend

A deoplete backend would be great. It's often more pleasant then working via omnifunc.

Cursor moves to beginning of line

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.

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.