Neovim/ru: Difference between revisions

FuzzyBot (talk | contribs)
Updating to match new version of source page
Tags: Mobile edit Mobile web edit
Unabomberlive (talk | contribs)
Replaced content with "==== Продвинутая ===="
Tags: Mobile edit Mobile web edit
Line 100: Line 100:


<span id="Advanced"></span>
<span id="Advanced"></span>
<div class="mw-translate-fuzzy">
==== Продвинутая ====
==== Пролвинутая ====
<syntaxhighlight lang="nix">
# Глобальная Настройка
programs.neovim = {
  enable = true;
  defaultEditor = true;
  viAlias = true;
  vimAlias = true;
  configure = {
    customRC = ''
      set number
      set cc=80
      set list
      set listchars=tab:→\ ,space:·,nbsp:␣,trail:•,eol:¶,precedes:«,extends:»
      if &diff
        colorscheme blue
      endif
    '';
    packages.myVimPackage = with pkgs.vimPlugins; {
      start = [ ctrlp ];
    };
  };
};
</div>


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">