neovim: add pygments support
This commit is contained in:
parent
8f5b38a22c
commit
5618efb259
|
@ -118,7 +118,6 @@
|
|||
pcmanfm
|
||||
pstree # Show the set of running processes as a tree
|
||||
pwgen
|
||||
python39Packages.pygments
|
||||
python3Full
|
||||
python39Packages.restview # ReStructuredText viewer
|
||||
python39Packages.sphinx # A tool that makes it easy to create intelligent and beautifulul documentation for Python projects
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
environment.variables = {EDITOR = "vim";};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Add python packages required by NeoVim in NixOS
|
||||
(python3.withPackages (ps: [
|
||||
ps.pygments
|
||||
]))
|
||||
(neovim.override {
|
||||
vimAlias = true;
|
||||
configure = {
|
||||
|
@ -32,6 +36,7 @@
|
|||
];
|
||||
opt = [];
|
||||
};
|
||||
# Write a custom Neovim config for NixOS
|
||||
customRC = ''
|
||||
" Preferred global default settings:
|
||||
set nocompatible
|
||||
|
|
Loading…
Reference in a new issue