Skip to content

Commit

Permalink
Add ftplugin guard to setup once only
Browse files Browse the repository at this point in the history
  • Loading branch information
janlazo committed May 24, 2019
1 parent e14aa9e commit 634b85e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ftplugin/ps1.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if exists('s:loaded_ftplugin')
finish
endif
let s:loaded_ftplugin = 1
let s:vimscript_dir = expand('<sfile>:p:h')
function! s:PSESSetup ()
let g:pses_dir = resolve(expand(s:vimscript_dir . '/../PowerShellEditorServices/PowerShellEditorServices'))
Expand Down

0 comments on commit 634b85e

Please sign in to comment.