c-brenn / phoenix.vim Goto Github PK
View Code? Open in Web Editor NEWphoenix.vim: rails.vim inspired tools for Phoenix
phoenix.vim: rails.vim inspired tools for Phoenix
As I can see this plugin conflicted with tpope/vim-rails
:E'Commands'
does not work if I have enabled both these plugins.
Phoenix 1.3 has been released, including significant changes to the structure of Phoenix projects.
We will need to update the Projections
and gf
binding to accommodate these changes (there may be more changes that I can't think of atm).
In terms of supporting both Phoenix 1.3+ and pre 1.3; I think we can tag the current version of the plugin and add documentation to the readme instructing people using older versions of phoenix to install that specific tagged version of the plugin.
Those using Phoenix 1.3+ will install the plugin as normal.
Looks like a great plugin - just a little concerned the git timestamps indicate it hasn't received much attention for at least 8 months. Do you keep it updated / know of any Phoenix changes that may have invalidated any of the templates or default locations for anything? Am just getting up to speed with Phoenix hence the ask. Again, thank you so much for providing this plugin.
I get an error (E119 code) when starting Vim about user autoloads for "ProjectionistDetect" and not enough arguments for function phoenix#setup.
It seems to fix by changing the following line in plugin/phoenix.vim
from:
autocmd User ProjectionistDetect call phoenix#setup()
To:
autocmd User ProjectionistDetect call phoenix#setup(getcwd())
When I have both plugins installed, the :A command only works in 1 direction, e.g. from web/models/contract.ex
to test/models/contract_test.exs
.
When trying to get back to the model from tests I'm getting E464: Ambiguous use of user-defined command
.
Hope, you have a moment to look into this - and big thanks for the plugin!
title
I'm not sure this is possible though, given vim-projectionist is creating the commands.
Like my project root is ~/code/phoenix/hello_world
and if I open it in Dirvish or netrw, :Emodel
and friends are not defined. But if I open a file like ~/code/phoenix/hello_world/web/templates/page/index.html.eex
then :Emodel
and friends are defined.
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.