Coder Social home page Coder Social logo

nix2vim's People

Contributors

dieracdelta avatar gytis-ivaskevicius avatar kirens 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nix2vim's Issues

Unable to add extra python package dependencies via `extraPython3Packages`

Thanks a lot for this flake, it really helped setting up my nvim in nix!

as part of the neovimBuilder call I am trying to add a python package, namely ueberzug. I try to add it by passing a reference to it in the neovimBuilder option extraPython3Packages. I am unable to either find the

...
extraPython3Packages = (ps: with ps; [ ueberzug ]);
...

However this fails to propagate the dependency. Am I doing something wrong or is the functionality of the option extraPython3Packages not working correctly?

Thanks a lot for your time!

Thank you for making this

I didn't try yet, but I'd like to look into it some time. I will follow "watch" the releases. Do you intend to make GitHub releases? Or is there any other way to follow them?

Support require('xxx.yyy').zzz as use."xxx.yyy".zzz

Hello, Gytis, first, thanks for create this plugins. Now I'm moving my neovim configurations from lua to nix, in telescope and alpha.nvim configuration, my configuration have some statement like:

-- alpha.nvim
require('alpha').setup(require('alpha.themes.startify').config)
-- telescope.nvim
require('telescope').load_extension('fzy_native')

I reference the docs and code for lib/api.options.nix writing the following code:

{
  ...
  # alpha.nvim
  alpha.setup = use.'alpha.themes.startify'.config;
  # telescope.nvim, syntax like calling a function
  use.'telescope'.load_extensions 'fzy_native';
  ...
}

For the current code design, that's illegal, if want make it work, must use the lua = '''' to wrap those statement. idk have a better throughts for using nix to configuring neovim, maybe need add some new features or functions for lua to nix api?
P.S.: Just throughts :)

Manage _just_ dependencies with nix

I would like to use nix to manage my packer plugins and their configurations, because those are the elements of my config that don't involve functions or any idiosyncratic lua/vim stuff that wouldn't be possible (as far as I'm aware) with this flake. How can I go about partially using nix2vim, with raw lua alongside it?

Adding systemPackages in a module

Hey @gytis-ivaskevicius ! You linked me to this repo on discord as an example of how to to tree-sitter grammars. I've been thinking of doing something like this for a while.

I've decided to convert my existing config to this, so far so good, only my telescope config requires ripgrep and fd. I can install them elsewhere for now but it would be really nice if it was possible to declare them within the module so that if I remove telescope, they get dropped too.

Maybe I'm missing it, but something like this would be nice I think:

{pkgs, dsl, ...}: with dsl;
{
  plugins = with pkgs:vimPlugins; [ telescope-nvim ];
  systemPackages = with pkgs; [ ripgrep fd ];

  setup.treesitter = {
    # ...
  };
}

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.