aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-03-11 17:11:02 +0000
committerLewis Russell <lewis6991@gmail.com>2023-03-20 10:06:32 +0000
commite5641df6d3fc3bb6c3c55593b6152082bfc561b6 (patch)
tree9354e0f324c274ba9aaae31ddb2269b1a6a54268 /runtime/doc/api.txt
parente1db0e35e4d5859b96e6aff882df62d6c714b569 (diff)
downloadrneovim-e5641df6d3fc3bb6c3c55593b6152082bfc561b6.tar.gz
rneovim-e5641df6d3fc3bb6c3c55593b6152082bfc561b6.tar.bz2
rneovim-e5641df6d3fc3bb6c3c55593b6152082bfc561b6.zip
feat: add `vim.filetype.get_option()`
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r--runtime/doc/api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 04825381ff..289788f036 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1971,8 +1971,8 @@ nvim_get_option_value({name}, {*opts}) *nvim_get_option_value()*
Implies {scope} is "local".
• filetype: |filetype|. Used to get the default option for a
specific filetype. Cannot be used with any other option.
- Note: this is expensive, it is recommended to cache this
- value.
+ Note: this will trigger |ftplugin| and all |FileType|
+ autocommands for the corresponding filetype.
Return: ~
Option value