Nvim-r: Difference between revisions
imported>Josephsdavid mNo edit summary |
imported>Makefu m add syntaxHighlight |
||
| Line 12: | Line 12: | ||
'''~/.config/nixpkgs/vim.nix''' | '''~/.config/nixpkgs/vim.nix''' | ||
< | <syntaxHighlight lang=nix> | ||
with import <nixpkgs> {}; | with import <nixpkgs> {}; | ||
let customPlugins = { | let customPlugins = { | ||
| Line 41: | Line 41: | ||
]; | ]; | ||
} | } | ||
</ | </syntaxHighlight> | ||
'''~/.config/nixpkgs/home.nix''' | '''~/.config/nixpkgs/home.nix''' | ||
< | <syntaxHighlight lang=nix> | ||
home= { | home= { | ||
packages = with pkgs; [ | packages = with pkgs; [ | ||
(import ./vim.nix) | (import ./vim.nix) | ||
other packages | # other packages | ||
]; | ]; | ||
}; | }; | ||
</ | </syntaxHighlight> | ||