Browse Source

fix(vimrc): ensure `vimrc` state runs

tags/v0.48.4
Imran Iqbal 5 years ago
parent
commit
a1ef7e57d9
No account linked to committer's email address
2 changed files with 8 additions and 1 deletions
  1. +7
    -0
      users/files/vimrc/vimrc
  2. +1
    -1
      users/vimrc.sls

+ 7
- 0
users/files/vimrc/vimrc View File

@@ -1,3 +1,9 @@
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" File managed by Salt at <{{ source }}>.
" Your changes will be overwritten.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
{% raw -%}
" URL: http://vim.wikia.com/wiki/Example_vimrc
" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode
" Description: A minimal, but feature rich, example .vimrc. If you are a
@@ -158,3 +164,4 @@ nnoremap <C-L> :nohl<CR><C-L>


"------------------------------------------------------------
{%- endraw %}

+ 1
- 1
users/vimrc.sls View File

@@ -1,6 +1,6 @@
{% from "users/map.jinja" import users with context %}

{% if users.use_vim_formula %}
{% if salt['pillar.get']('users-formula:use_vim_formula', False) %}

include:
- users

Loading…
Cancel
Save