File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ let g:php_cs_fixer_level = "all" " which level ?
13
13
let g:php_cs_fixer_config = "default" " configuration
14
14
let g:php_cs_fixer_php_path = "php" " Path to PHP
15
15
let g:php_cs_fixer_fixers_list = "" " List of fixers
16
- let g:php_cs_fixer_default_mapping = 1 " Enable the mapping by default (<leader>pcd)
16
+ let g:php_cs_fixer_enable_default_mapping = 1 " Enable the mapping by default (<leader>pcd)
17
17
let g:php_cs_fixer_dry_run = 0 " Call command with dry-run option
18
18
let g:php_cs_fixer_verbose = 0 " Return the output of command if 1, else an inline information.
19
19
```
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ endfunction
15
15
call s: initVariable (" g:php_cs_fixer_path" , " ~/php-cs-fixer.phar" )
16
16
call s: initVariable (" g:php_cs_fixer_level" , " all" )
17
17
call s: initVariable (" g:php_cs_fixer_php_path" , " php" )
18
- call s: initVariable (" g:php_cs_fixer_default_mapping " , 1 )
18
+ call s: initVariable (" g:php_cs_fixer_enable_default_mapping " , 1 )
19
19
call s: initVariable (" g:php_cs_fixer_dry_run" , 0 )
20
20
call s: initVariable (" g:php_cs_fixer_verbose" , 0 )
21
21
@@ -73,7 +73,7 @@ fun! PhpCsFixerFixFile()
73
73
call PhpCsFixerFix (expand (' %:p' ), g: php_cs_fixer_dry_run )
74
74
endfun
75
75
76
- if (g: php_cs_fixer_default_mapping == 1 )
76
+ if (g: php_cs_fixer_enable_default_mapping == 1 )
77
77
nnoremap <silent> <leader> pcd :call PhpCsFixerFixDirectory()<CR>
78
78
nnoremap <silent> <leader> pcf :call PhpCsFixerFixFile()<CR>
79
79
endif
You can’t perform that action at this time.
0 commit comments