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