-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
" | ||
" Loads mapping for python files. | ||
" | ||
|
||
" Only do this when not done yet for this buffer | ||
if exists('b:did_ftplugin') | ||
finish | ||
endif | ||
let b:did_ftplugin = 1 | ||
|
||
" To use line continuation, remove 'C' from 'cpoptions' | ||
let s:cpo_save = &cpo | ||
set cpo&vim | ||
|
||
" :help undo_ftplugin | ||
" What should be stored depends on what will be changed in the ftplugin. | ||
let b:undo_ftplugin = 'setl com< cms< fo<' | ||
|
||
" Loads mapping for gherkin files. | ||
nnoremap <buffer> <localleader>b :call behave#find_usages()<cr> | ||
" Restore 'cpoptions' | ||
let &cpo = s:cpo_save | ||
unlet s:cpo_save |