File logging (#1053)
* add file logging infrastructure * log git runner operations * log configuration and mappings * document file logging infrastructure * style fixes * stylua fixes * document log file locations
This commit is contained in:
committed by
GitHub
parent
0816064a8b
commit
19075f41e8
@@ -152,7 +152,15 @@ function.
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
log = {
|
||||
enable = false,
|
||||
types = {
|
||||
all = false,
|
||||
config = false,
|
||||
git = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
<
|
||||
|
||||
@@ -451,6 +459,28 @@ Here is a list of the options available in the setup call:
|
||||
`buftype = { "nofile", "terminal", "help", }`
|
||||
`}`
|
||||
|
||||
*nvim-tree.log*
|
||||
|log|: configuration for diagnostic logging
|
||||
|
||||
- |log.enable|: enable logging to a file `nvim-tree-HH:MM:SS-username.log`
|
||||
in $XDG_CACHE_HOME/nvim
|
||||
type: `boolean`
|
||||
default: `false`
|
||||
|
||||
- |log.types|: specify which information to log
|
||||
|
||||
- |log.types.all|: everything
|
||||
type: `boolean`
|
||||
default: `false`
|
||||
|
||||
- |log.types.config|: options and mappings, at startup
|
||||
type: `boolean`
|
||||
default: `false`
|
||||
|
||||
- |log.types.git|: git processing
|
||||
type: `boolean`
|
||||
default: `false`
|
||||
|
||||
==============================================================================
|
||||
OPTIONS *nvim-tree-options*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user