Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function with pattern matched map,cursor move to end,happen error. #479

Open
sjava opened this issue Mar 2, 2019 · 8 comments
Open

function with pattern matched map,cursor move to end,happen error. #479

sjava opened this issue Mar 2, 2019 · 8 comments

Comments

@sjava
Copy link

sjava commented Mar 2, 2019

  def delete(conn, %{"id" => id}) do
    user = Accounts.get_user!(id)

    with {:ok, %User{}} <- Accounts.delete_user(user) do
      send_resp(conn, :no_content, "")
    end
  end

when cursor move to end,neovim appear :
E15: Invalid expression: %#elixirStringDelimiter#"%#elixirString#id%#elixirStringDelimiter#"%#elixirArguments# %#elixirOperator#=>%#elixirArguments# id

@jbodah
Copy link
Collaborator

jbodah commented Mar 4, 2019

Hi, could you be more explicit - which end are you referring to?

@sjava
Copy link
Author

sjava commented Mar 4, 2019

the last end
_2019-03-04_22-08-34

@jbodah
Copy link
Collaborator

jbodah commented Mar 12, 2019

@sjava I'm having trouble reproducing this; could you post a screenshot of a minimal example?

@jbodah
Copy link
Collaborator

jbodah commented Mar 12, 2019

Also can you please confirm you are on HEAD

@sjava
Copy link
Author

sjava commented Mar 12, 2019

vim-elixir is on HEAD

git show
commit 9724749 (HEAD -> master, origin/master, origin/HEAD)
Author: Nicholas Vargas navargas@us.ibm.com
Date: Sun Mar 3 17:24:00 2019 -0800

Update README.md vim 8 install instructions (#480)

Vim 8 reads plugins from `~/.vim/pack/my-packages/start/pluginName`

diff --git a/README.md b/README.md
index 414942f..ca8ff43 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Features:

# vim 8 native package loading
# http://vimhelp.appspot.com/repeat.txt.html#packages
-git clone https://github.com/elixir-lang/vim-elixir.git ~/.vim/pack/my-packages/start
+git clone https://github.com/elixir-lang/vim-elixir.git ~/.vim/pack/my-packages/start/vim-elixir

@sjava
Copy link
Author

sjava commented Mar 12, 2019

test file: https://gist.github.com/sjava/eb8ac44c237b5f15fa5c2560e7edcfcd
when the create function all show in screen,no error.
1

when the create function head not show in screen,happend error .
2

@jbodah
Copy link
Collaborator

jbodah commented Mar 12, 2019

Could you link your vimrc? Also which vim version are you using (e.g. vim8, gvim, neovim, etc)?

@sjava
Copy link
Author

sjava commented Mar 13, 2019

vimrc
i use neovim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants