Skip to content

LilleAila/nvf-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LilleAila's Neovim Configuration

My personal configuration files for neovim, powered by nvf.

Running

You can run the following command to test the configuration:

nix run github:LilleAila/nvf-config

Snippets

My LuaSnip snippets are also available from this flake. To use them in your nvf config, set the following options.

{ pkgs, inputs, ... }:
{
  vim.snippets.luasnip = {
    enable = true;
    setupOpts = {
        enable_autosnippets = true;
    };
    providers = [
      inputs.lilleaila-nvf.packages.${pkgs.system}.snippets
    ];
    loaders = # lua
      ''
        require("lilleaila-snippets").load_snippets()
      '';
  };
}

This package contains the following types of snippets:

  • LaTeX math
  • LaTeX math in markdown

The only dependency is nvim-treesitter, with the grammars of the supported languages installed.

Note that the snippets do not require nvf or nix, and can be used as long as the provided package (or config/snippets) are in neovim's path.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published