summary refs log tree commit diff
path: root/doc/languages-frameworks/vim.section.md
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-03-14 00:30:36 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-04-05 05:23:19 +0200
commit2c143a461438a4e3c9509222274be819df8d86ef (patch)
tree13e1dfaf764ac375d74cc5ed19d713b7695fa18f /doc/languages-frameworks/vim.section.md
parent14edfb4cd7cc6a5a332318e37f1bf6a844b3e9c6 (diff)
downloadnixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.gz
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.bz2
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.lz
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.xz
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.tar.zst
nixpkgs-2c143a461438a4e3c9509222274be819df8d86ef.zip
doc/languages-frameworks/*: add missing languages to code fences
convert shell -> ShellSession
Diffstat (limited to 'doc/languages-frameworks/vim.section.md')
-rw-r--r--doc/languages-frameworks/vim.section.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md
index 155dacc237b..22b5e6f3013 100644
--- a/doc/languages-frameworks/vim.section.md
+++ b/doc/languages-frameworks/vim.section.md
@@ -156,7 +156,7 @@ assuming that "using latest version" is ok most of the time.
 
 First create a vim-scripts file having one plugin name per line. Example:
 
-```
+```vim
 "tlib"
 {'name': 'vim-addon-sql'}
 {'filetype_regex': '\%(vim)$', 'names': ['reload', 'vim-dev-plugin']}
@@ -197,7 +197,7 @@ nix-shell -p vimUtils.vim_with_vim2nix --command "vim -c 'source generate.vim'"
 You should get a Vim buffer with the nix derivations (output1) and vam.pluginDictionaries (output2).
 You can add your Vim to your system's configuration file like this and start it by "vim-my":
 
-```
+```nix
 my-vim =
   let plugins = let inherit (vimUtils) buildVimPluginFrom2Nix; in {
     copy paste output1 here
@@ -217,7 +217,7 @@ my-vim =
 
 Sample output1:
 
-```
+```nix
 "reload" = buildVimPluginFrom2Nix { # created by nix#NixDerivation
   name = "reload";
   src = fetchgit {
@@ -248,7 +248,7 @@ Nix expressions for Vim plugins are stored in [pkgs/misc/vim-plugins](/pkgs/misc
 
 Some plugins require overrides in order to function properly. Overrides are placed in [overrides.nix](/pkgs/misc/vim-plugins/overrides.nix). Overrides are most often required when a plugin requires some dependencies, or extra steps are required during the build process. For example `deoplete-fish` requires both `deoplete-nvim` and `vim-fish`, and so the following override was added:
 
-```
+```nix
 deoplete-fish = super.deoplete-fish.overrideAttrs(old: {
   dependencies = with super; [ deoplete-nvim vim-fish ];
 });