comparison runtime/doc/usr_41.txt @ 29810:761631155a90 v9.0.0244

patch 9.0.0244: cannot easily get the list of sourced scripts Commit: https://github.com/vim/vim/commit/f768c3d19c518822d89dec4cc3947ddeea249316 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Aug 22 13:15:13 2022 +0100 patch 9.0.0244: cannot easily get the list of sourced scripts Problem: Cannot easily get the list of sourced scripts. Solution: Add the getscriptinfo() function. (Yegappan Lakshmanan, closes #10957)
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Aug 2022 14:30:04 +0200
parents bdb31515f78b
children b15334beeaa4
comparison
equal deleted inserted replaced
29809:7847804c8a72 29810:761631155a90
1308 prompt_getprompt() get the effective prompt text for a buffer 1308 prompt_getprompt() get the effective prompt text for a buffer
1309 prompt_setcallback() set prompt callback for a buffer 1309 prompt_setcallback() set prompt callback for a buffer
1310 prompt_setinterrupt() set interrupt callback for a buffer 1310 prompt_setinterrupt() set interrupt callback for a buffer
1311 prompt_setprompt() set the prompt text for a buffer 1311 prompt_setprompt() set the prompt text for a buffer
1312 1312
1313 Registers: *register-functions*
1314 getreg() get contents of a register
1315 getreginfo() get information about a register
1316 getregtype() get type of a register
1317 setreg() set contents and type of a register
1318 reg_executing() return the name of the register being executed
1319 reg_recording() return the name of the register being recorded
1320
1313 Text Properties: *text-property-functions* 1321 Text Properties: *text-property-functions*
1314 prop_add() attach a property at a position 1322 prop_add() attach a property at a position
1315 prop_add_list() attach a property at multiple positions 1323 prop_add_list() attach a property at multiple positions
1316 prop_clear() remove all properties from a line or lines 1324 prop_clear() remove all properties from a line or lines
1317 prop_find() search for a property 1325 prop_find() search for a property
1339 changenr() return number of most recent change 1347 changenr() return number of most recent change
1340 cscope_connection() check if a cscope connection exists 1348 cscope_connection() check if a cscope connection exists
1341 did_filetype() check if a FileType autocommand was used 1349 did_filetype() check if a FileType autocommand was used
1342 eventhandler() check if invoked by an event handler 1350 eventhandler() check if invoked by an event handler
1343 getpid() get process ID of Vim 1351 getpid() get process ID of Vim
1352 getscriptinfo() get list of sourced vim scripts
1344 getimstatus() check if IME status is active 1353 getimstatus() check if IME status is active
1345 interrupt() interrupt script execution 1354 interrupt() interrupt script execution
1346 windowsversion() get MS-Windows version 1355 windowsversion() get MS-Windows version
1347 terminalprops() properties of the terminal 1356 terminalprops() properties of the terminal
1348 1357
1349 libcall() call a function in an external library 1358 libcall() call a function in an external library
1350 libcallnr() idem, returning a number 1359 libcallnr() idem, returning a number
1351 1360
1352 undofile() get the name of the undo file 1361 undofile() get the name of the undo file
1353 undotree() return the state of the undo tree 1362 undotree() return the state of the undo tree
1354
1355 getreg() get contents of a register
1356 getreginfo() get information about a register
1357 getregtype() get type of a register
1358 setreg() set contents and type of a register
1359 reg_executing() return the name of the register being executed
1360 reg_recording() return the name of the register being recorded
1361 1363
1362 shiftwidth() effective value of 'shiftwidth' 1364 shiftwidth() effective value of 'shiftwidth'
1363 1365
1364 wordcount() get byte/word/char count of buffer 1366 wordcount() get byte/word/char count of buffer
1365 1367