@@ -938,6 +938,35 @@ export const bufhidden = {
938
938
} ,
939
939
} ;
940
940
941
+ /**
942
+ *
943
+ * When this option is set, the buffer shows up in the buffer list. If
944
+ * it is reset it is not used for ":bnext", "ls", the Buffers menu, etc.
945
+ * This option is reset by Vim for buffers that are only used to remember
946
+ * a file name or marks. Vim sets it when starting to edit a buffer.
947
+ * But not when moving to a buffer with ":buffer".
948
+ */
949
+ export const buflisted = {
950
+ async get ( denops : Denops ) : Promise < boolean > {
951
+ return await options . get ( denops , "buflisted" ) ?? false ;
952
+ } ,
953
+ set ( denops : Denops , value : boolean ) : Promise < void > {
954
+ return options . set ( denops , "buflisted" , value ) ;
955
+ } ,
956
+ reset ( denops : Denops ) : Promise < void > {
957
+ return options . remove ( denops , "buflisted" ) ;
958
+ } ,
959
+ async getLocal ( denops : Denops ) : Promise < boolean > {
960
+ return await localOptions . get ( denops , "buflisted" ) ?? false ;
961
+ } ,
962
+ setLocal ( denops : Denops , value : boolean ) : Promise < void > {
963
+ return localOptions . set ( denops , "buflisted" , value ) ;
964
+ } ,
965
+ resetLocal ( denops : Denops ) : Promise < void > {
966
+ return localOptions . remove ( denops , "buflisted" ) ;
967
+ } ,
968
+ } ;
969
+
941
970
/**
942
971
*
943
972
* The value of this option specifies the type of a buffer:
0 commit comments