diff src/userfunc.c @ 29930:cd573d7bc30d v9.0.0303

patch 9.0.0303: it is not easy to get information about a script Commit: https://github.com/vim/vim/commit/2f892d8663498c21296ad6661dac1bb8372cfd10 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Aug 28 18:52:10 2022 +0100 patch 9.0.0303: it is not easy to get information about a script Problem: It is not easy to get information about a script. Solution: Make getscriptinf() return the version. When selecting a specific script return functions and variables. (Yegappan Lakshmanan, closes #10991)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 20:00:05 +0200
parents c71a42be2d7f
children 6cf788ab844c
line wrap: on
line diff
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -40,7 +40,6 @@ func_init()
     hash_init(&func_hashtab);
 }
 
-#if defined(FEAT_PROFILE) || defined(PROTO)
 /*
  * Return the function hash table
  */
@@ -49,7 +48,6 @@ func_tbl_get(void)
 {
     return &func_hashtab;
 }
-#endif
 
 /*
  * Get one function argument.