Skip to content

Commit

Permalink
nvim: add nix flakes snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Jun 12, 2024
1 parent 81732b2 commit 69423cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions home/common/nvim/lua/tomodachi94/luasnip/nix/flakes.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
local ls = require("luasnip")
local s = ls.snippet
local t = ls.text_node

return {
s({ trig = "inputs.nixpkgs.follows", dscr = "override a flake input's nixpkgs with our own" }, {
t('inputs.nixpkgs.follows = "nixpkgs";'),
}),
}

0 comments on commit 69423cc

Please sign in to comment.