Comments (15)
@RooSoft elixir support should be now available on the feature/elixir
branch, tracked by this pull request. It is mostly done, but before I can merge it could you test it with running the maximal configuration on that specific branch?
*Edit: you can also try pinning the branch in your flake inputs and install with home-manager as described in the docs.
from neovim-flake.
I'd be happy to enable more language support in the near feature, possibly (and preferably) before the release of 0.3.
However I am not too familiar with Elixir, could you elaborate on which Neovim plugins/LSPs/extra packages from nixpkgs would be necessary to make this possible?
from neovim-flake.
Still have to use this thing, but elixir-ls
seems to be the language server.
For elixir itself, elixir
would do it.
Now, that's for elixir itself, I still have to understand how to enable LSP in this project, but would gladly do my best to help if I can have some pointers about where to start...
from neovim-flake.
I found out about mason...
Would it be a good idea to integrate it here? Would be awesome to use it and install whatever language through its integrated menu straight into neovim.
from neovim-flake.
I'm aware of the existence of mason. I'm afraid I have absolutely no plans to integrate it, as the aim here is to be absolutely declarative and mason would go against that, similar to plugin managers.
What we can use is elixir-ls in combination with the already set-up lspconfig and nvim-cmp. According to a few articles I've found online, those are enough for elixir development on neovim.
from neovim-flake.
Makes sense... anything I can do to help make this a reality?
from neovim-flake.
I intend on getting to it soon, possibly monday latest.
If you'd like to implement it yourself, faster than I can, you could try looking at other lsp implementations and try to implement elixir yourself.
The elixir languagesever is in nixpkgs, it'd be a matter of adding it to startup-plugins (which takes packages as well) and then configuring the lspconfig plugin as well as nvim-cmp - both are available in the modules/directory.
from neovim-flake.
Side note, please do let me know if you'd also like me to add https://github.com/brendalf/mix.nvim
I don't normally use Elixir, but I'd like to provide everything the user needs.
from neovim-flake.
I've tried nix run github:notashelf/neovim-flake#maximal
but the .ex
and .exs
files I've tried from the bitcoinlib project still don't show with syntax highlighting...
Am I doing something wrong here?
from neovim-flake.
Most probably no, oughta be a problem on my end.
Could you link me a small project that preferably has no external dependencies that I can test on?
from neovim-flake.
from neovim-flake.
Pushed another commit, which also adds elixir-tools.
The project does seem highlgihted to me and the LSP diagnostics do make me think it is syntax highlighting, but do let me know!
from neovim-flake.
If you are pinning your flake inputs, you'll need to run a quick nix flake lock --update-input neovim-flake
before rebuilding in order to get it working.
Do note that running nix run github:notashelf/neovim-flake#maximal
will use the main branch of this flake, which is not yet supporting elixir.
You will also want to specific a branch in the nix run.
from neovim-flake.
looks like syntax highlighting is working on the elixir branch
from neovim-flake.
Yeah, it's totally working with nix develop github:NotAShelf/neovim-flake/feature/elixir
!
Thanks!
from neovim-flake.
Related Issues (20)
- border support for lsp windows
- make flake package configurable
- breaking: nvim-tree module has been reworked
- Improve spell check stuffs
- Java-language-server HOT 7
- Enabling `vim.notes.orgmode` throws an error HOT 3
- Dracula Theme is broken HOT 2
- Navbuddy requires nui.nvim HOT 10
- sqls is deprecated, use sqlls instead HOT 4
- extraConfig to pass into builtin plugin's `setup()` HOT 1
- thread: alternative language modules; language support requests HOT 2
- disable lsp status indicator on lualine inside toggleterm HOT 1
- bump nixpkgs
- bump nixpkgs HOT 5
- build & publish containerized packages
- cmp sources ordering HOT 1
- v0.5 Release Schedule & v0.6 Discussion HOT 1
- null-ls cannot be used with ccls due to `offset_encoding` HOT 5
- user-friendlier API for adding custom plugins HOT 10
- multiple `vim.loader.enable()` calls in generated init.vim
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim-flake.