diff --git a/README.md b/README.md index 9ff2aa9..5e34ae5 100644 --- a/README.md +++ b/README.md @@ -119,13 +119,13 @@ default DelayTrain mappings are included below: ['nv'] = {'h', 'j', 'k', 'l'}, ['nvi'] = {'', '', '', ''}, }, - ignore_filestypes = {}, -- Example: set to {"help", "NvimTr*"} to + ignore_filetypes = {}, -- Example: set to {"help", "NvimTr*"} to -- disable the plugin for help and NvimTree } ``` You can define a list of filetypes that will be ignored by delaytrain using -`ignore_filestypes`. The option accepts a list of strings or patterns. +`ignore_filetypes`. The option accepts a list of strings or patterns. Tip: you can find the filetype for the current buffer using the command `:set ft?` ### Mappings diff --git a/doc/delaytrain.txt b/doc/delaytrain.txt index a1466bb..a3fd750 100644 --- a/doc/delaytrain.txt +++ b/doc/delaytrain.txt @@ -45,7 +45,7 @@ following configuration (default settings included): ['nv'] = {'h', 'j', 'k', 'l'}, ['nvi'] = {'', '', '', ''}, }, - ignore_filestypes = {}, -- Example: set to {"help", "NvimTr*"} to + ignore_filetypes = {}, -- Example: set to {"help", "NvimTr*"} to -- disable the plugin for help and NvimTree } < @@ -64,7 +64,7 @@ will work. If you wait another 200ms and hit j again, the keypress will not work. You can define a list of filetypes that will be ignored by delaytrain using -`ignore_filestypes`. The option accepts a list of strings or patterns. Tip: +`ignore_filetypes`. The option accepts a list of strings or patterns. Tip: you can find the filetype for the current buffer using the command `:set ft?` ------------------------------------------------------------------------------