Documentation ¶
Index ¶
- Constants
- func Register(p Plugin)
- func SetUUID(u string)
- func SetupLogging() func()
- type Api
- func (api *Api) BufferById(id int) (*Buffer, bool)
- func (api *Api) CreateSplitBuffer(width int, mods ...SplitModifier) *Buffer
- func (api *Api) CurrentBuffer() *Buffer
- func (api *Api) CurrentTab() *Tab
- func (api *Api) CurrentWindow() *Window
- func (api *Api) Cwd() string
- func (api *Api) Execute(cmd string) (string, error)
- func (api *Api) Executef(format string, args ...interface{}) (string, error)
- func (api *Api) FindBuffer(fn func(buffer *Buffer) bool) (*Buffer, bool)
- func (api *Api) FindTab(fn func(tab *Tab) bool) (*Tab, bool)
- func (api *Api) FindWindow(fn func(win *Window) bool) (*Window, bool)
- func (api *Api) Function(name string, fn interface{})
- func (api *Api) TabById(id int) (*Tab, bool)
- func (api *Api) WindowById(id int) (*Window, bool)
- type BoolOption
- type Buffer
- func (b *Buffer) Close()
- func (b *Buffer) Exists() bool
- func (b *Buffer) Freeze()
- func (b *Buffer) ID() int
- func (b *Buffer) IsCurrent() bool
- func (b *Buffer) IsEmpty() bool
- func (b *Buffer) Lines() []string
- func (b *Buffer) On(event string, fn func())
- func (b *Buffer) Path() string
- func (b *Buffer) SetLines(lines []string)
- func (b *Buffer) SetTitle(title string)
- func (b *Buffer) SetVarBool(name string, value bool)
- func (b *Buffer) SetVarString(name string, value string)
- func (b *Buffer) Title() string
- func (b *Buffer) Unfreeze()
- func (b *Buffer) VarBool(name string) bool
- func (b *Buffer) VarString(name string) string
- func (b *Buffer) Windows() []*Window
- type BufferHiddenValue
- type BufferOptions
- func (o *BufferOptions) FileType() string
- func (o *BufferOptions) Hidden() string
- func (o *BufferOptions) Modifiable() bool
- func (o *BufferOptions) ReadOnly() bool
- func (o *BufferOptions) SetFileType(value string)
- func (o *BufferOptions) SetHidden(value BufferHiddenValue)
- func (o *BufferOptions) SetListed(value bool)
- func (o *BufferOptions) SetModifiable(value bool)
- func (o *BufferOptions) SetReadOnly(value bool)
- func (o *BufferOptions) SetSwapFile(value bool)
- func (o *BufferOptions) SetType(value BufferTypeValue)
- func (o *BufferOptions) SwapFile() bool
- func (o *BufferOptions) SwapListed() bool
- func (o *BufferOptions) Type() string
- type BufferTypeValue
- type Cursor
- type Global
- type GlobalClipboardValue
- type GlobalOptions
- func (o GlobalOptions) Clipboard() GlobalClipboardValue
- func (o GlobalOptions) OperatorFunc() string
- func (o GlobalOptions) Selection() GlobalSelectionValue
- func (o GlobalOptions) SetClipboard(value GlobalClipboardValue)
- func (o GlobalOptions) SetOperatorFunc(fn string)
- func (o GlobalOptions) SetSelection(value GlobalSelectionValue)
- type GlobalSelectionValue
- type Handler
- type HandlerFunc
- type Initializable
- type IntOption
- type KeyMaps
- func (m KeyMaps) Delete(mode Mode, keys string)
- func (m KeyMaps) Disable(mode Mode, keys string)
- func (m KeyMaps) Set(mode Mode, keys string, eval string)
- func (m *KeyMaps) SetFunc(mode Mode, keys string, fn func())
- func (m *KeyMaps) SetTextAction(keys string, fn func(string) string)
- func (m KeyMaps) Setf(mode Mode, keys string, eval string, args ...interface{})
- type Mode
- type Out
- type Plugin
- type RegisterApi
- type Registerable
- type Renderer
- type SplitModifier
- type StringOption
- type Tab
- type Updatable
- type Vars
- type View
- type ViewRenderer
- type Window
- func (w *Window) Buffer() *Buffer
- func (w *Window) Close(force bool)
- func (w *Window) Cursor() Cursor
- func (win *Window) Exists() bool
- func (w *Window) Focus()
- func (w *Window) ID() int
- func (b *Window) IsCurrent() bool
- func (w *Window) SetCursor(c Cursor)
- func (b *Window) SetVarBool(name string, value bool)
- func (b *Window) SetVarString(name string, value string)
- func (w *Window) Tab() *Tab
- func (b *Window) VarBool(name string) bool
- func (b *Window) VarString(name string) string
- type WindowFoldMethodValue
- type WindowOptions
- func (o *WindowOptions) ColorColumn() string
- func (o *WindowOptions) CursorColumn() bool
- func (o *WindowOptions) CursorLine() bool
- func (o *WindowOptions) FixWidth() bool
- func (o *WindowOptions) FoldColumn() int
- func (o *WindowOptions) FoldEnable() bool
- func (o *WindowOptions) FoldMethod() WindowFoldMethodValue
- func (o *WindowOptions) List() bool
- func (o *WindowOptions) Number() bool
- func (o *WindowOptions) RelativeNumber() bool
- func (o *WindowOptions) SetCursorColumn(value bool)
- func (o *WindowOptions) SetCursorLine(value bool)
- func (o *WindowOptions) SetFixWidth(value bool)
- func (o *WindowOptions) SetFoldColumn(value int)
- func (o *WindowOptions) SetFoldEnable(value bool)
- func (o *WindowOptions) SetFoldMethod(value WindowFoldMethodValue)
- func (o *WindowOptions) SetList(value bool)
- func (o *WindowOptions) SetNumber(value bool)
- func (o *WindowOptions) SetRelativeNumber(value bool)
- func (o *WindowOptions) SetSignColumn(value WindowSignColumnValue, number ...int)
- func (o *WindowOptions) SetSpell(value bool)
- func (o *WindowOptions) SetWidth(value int)
- func (o *WindowOptions) SetWrap(value bool)
- func (o *WindowOptions) SignColumn() WindowSignColumnValue
- func (o *WindowOptions) Spell() bool
- func (o *WindowOptions) Width() int
- func (o *WindowOptions) Wrap() bool
- type WindowSignColumnValue
Constants ¶
View Source
const ( BufferOptionModifiable BoolOption = "modifiable" // bool BufferOptionReadOnly BoolOption = "readonly" // bool BufferOptionHidden StringOption = "bufhidden" // string BufferOptionType StringOption = "buftype" // string BufferOptionFileType StringOption = "filetype" // string BufferOptionSwapFile BoolOption = "swapfile" // bool BufferOptionListed BoolOption = "buflisted" // bool BufferOptionList BoolOption = "list" // bool? "no" BufferOptionSpell BoolOption = "spell" // bool BufferOptionListchars StringOption = "listchars" // "" )
View Source
const ( // starting to edit a file that doesn't exist EventBufNewFile = "BufNewFile" // starting to edit a new buffer, before reading the file EventBufReadPre = "BufReadPre" // starting to edit a new buffer, after reading the file EventBufRead = "BufRead" // starting to edit a new buffer, after reading the file EventBufReadPost = "BufReadPost" // before starting to edit a new buffer |Cmd-event| EventBufReadCmd = "BufReadCmd" // before reading a file with a ":read" command EventFileReadPre = "FileReadPre" // after reading a file with a ":read" command EventFileReadPost = "FileReadPost" // before reading a file with a ":read" command |Cmd-event| EventFileReadCmd = "FileReadCmd" // before reading a file from a filter command EventFilterReadPre = "FilterReadPre" // after reading a file from a filter command EventFilterReadPost = "FilterReadPost" // before reading from stdin into the buffer EventStdinReadPre = "StdinReadPre" // After reading from the stdin into the buffer EventStdinReadPost = "StdinReadPost" // starting to write the whole buffer to a file EventBufWrite = "BufWrite" // starting to write the whole buffer to a file EventBufWritePre = "BufWritePre" // after writing the whole buffer to a file EventBufWritePost = "BufWritePost" // before writing the whole buffer to a file |Cmd-event| EventBufWriteCmd = "BufWriteCmd" // starting to write part of a buffer to a file EventFileWritePre = "FileWritePre" // after writing part of a buffer to a file EventFileWritePost = "FileWritePost" // before writing part of a buffer to a file |Cmd-event| EventFileWriteCmd = "FileWriteCmd" // starting to append to a file EventFileAppendPre = "FileAppendPre" // after appending to a file EventFileAppendPost = "FileAppendPost" // before appending to a file |Cmd-event| EventFileAppendCmd = "FileAppendCmd" // starting to write a file for a filter command or diff EventFilterWritePre = "FilterWritePre" // after writing a file for a filter command or diff EventFilterWritePost = "FilterWritePost" // just after adding a buffer to the buffer list EventBufAdd = "BufAdd" // just after adding a buffer to the buffer list EventBufCreate = "BufCreate" // before deleting a buffer from the buffer list EventBufDelete = "BufDelete" // before completely deleting a buffer EventBufWipeout = "BufWipeout" // before changing the name of the current buffer EventBufFilePre = "BufFilePre" // after changing the name of the current buffer EventBufFilePost = "BufFilePost" // after entering a buffer EventBufEnter = "BufEnter" // before leaving to another buffer EventBufLeave = "BufLeave" // after a buffer is displayed in a window EventBufWinEnter = "BufWinEnter" // before a buffer is removed from a window EventBufWinLeave = "BufWinLeave" // before unloading a buffer EventBufUnload = "BufUnload" // just after a buffer has become hidden EventBufHidden = "BufHidden" // just after creating a new buffer EventBufNew = "BufNew" // detected an existing swap file EventSwapExists = "SwapExists" // starting a terminal job EventTermOpen = "TermOpen" // entering Terminal-mode EventTermEnter = "TermEnter" // leaving Terminal-mode EventTermLeave = "TermLeave" // stopping a terminal job EventTermClose = "TermClose" // after a channel opened EventChanOpen = "ChanOpen" // after a channel has its state changed EventChanInfo = "ChanInfo" // Options // when the 'filetype' option has been set EventFileType = "FileType" // when the 'syntax' option has been set EventSyntax = "Syntax" // after setting any option EventOptionSet = "OptionSet" // Startup and exit // after doing all the startup stuff EventVimEnter = "VimEnter" // after a UI attaches EventUIEnter = "UIEnter" // after a UI detaches EventUILeave = "UILeave" // after the terminal response to t_RV is received EventTermResponse = "TermResponse" // when using `:quit`, before deciding whether to exit EventQuitPre = "QuitPre" // when using a command that may make Vim exit EventExitPre = "ExitPre" // before exiting Nvim, before writing the shada file EventVimLeavePre = "VimLeavePre" // before exiting Nvim, after writing the shada file EventVimLeave = "VimLeave" // after Nvim is resumed EventVimResume = "VimResume" // before Nvim is suspended EventVimSuspend = "VimSuspend" // after diffs have been updated EventDiffUpdated = "DiffUpdated" // after the |current-directory| was changed EventDirChanged = "DirChanged" // Vim notices that a file changed since editing started EventFileChangedShell = "FileChangedShell" // after handling a file changed since editing started EventFileChangedShellPost = "FileChangedShellPost" // before making the first change to a read-only file EventFileChangedRO = "FileChangedRO" // after executing a shell command EventShellCmdPost = "ShellCmdPost" // after filtering with a shell command EventShellFilterPost = "ShellFilterPost" // a user command is used but it isn't defined EventCmdUndefined = "CmdUndefined" // a user function is used but it isn't defined EventFuncUndefined = "FuncUndefined" // a spell file is used but it can't be found EventSpellFileMissing = "SpellFileMissing" // before sourcing a Vim script EventSourcePre = "SourcePre" // after sourcing a Vim script EventSourcePost = "SourcePost" // before sourcing a Vim script |Cmd-event| EventSourceCmd = "SourceCmd" // after the Vim window size changed EventVimResized = "VimResized" // Nvim got focus EventFocusGained = "FocusGained" // Nvim lost focus EventFocusLost = "FocusLost" // the user doesn't press a key for a while EventCursorHold = "CursorHold" // the user doesn't press a key for a while in Insert mode EventCursorHoldI = "CursorHoldI" // the cursor was moved in Normal mode EventCursorMoved = "CursorMoved" // the cursor was moved in Insert mode EventCursorMovedI = "CursorMovedI" // after creating a new window EventWinNew = "WinNew" // after entering another window EventWinEnter = "WinEnter" // before leaving a window EventWinLeave = "WinLeave" // after entering another tab page EventTabEnter = "TabEnter" // before leaving a tab page EventTabLeave = "TabLeave" // when creating a new tab page EventTabNew = "TabNew" // after entering a new tab page EventTabNewEntered = "TabNewEntered" // after closing a tab page EventTabClosed = "TabClosed" // after a change was made to the command-line text EventCmdlineChanged = "CmdlineChanged" // after entering cmdline mode EventCmdlineEnter = "CmdlineEnter" // before leaving cmdline mode EventCmdlineLeave = "CmdlineLeave" // after entering the command-line window EventCmdwinEnter = "CmdwinEnter" // before leaving the command-line window EventCmdwinLeave = "CmdwinLeave" // starting Insert mode EventInsertEnter = "InsertEnter" // when typing <Insert> while in Insert or Replace mode EventInsertChange = "InsertChange" // when leaving Insert mode EventInsertLeave = "InsertLeave" // when a character was typed in Insert mode, before // inserting it EventInsertCharPre = "InsertCharPre" // when some text is yanked or deleted EventTextYankPost = "TextYankPost" // after a change was made to the text in Normal mode EventTextChanged = "TextChanged" // after a change was made to the text in Insert mode // when popup menu is not visible EventTextChangedI = "TextChangedI" // after a change was made to the text in Insert mode // when popup menu visible EventTextChangedP = "TextChangedP" // before loading a color scheme EventColorSchemePre = "ColorSchemePre" // after loading a color scheme EventColorScheme = "ColorScheme" // a reply from a server Vim was received EventRemoteReply = "RemoteReply" // before a quickfix command is run EventQuickFixCmdPre = "QuickFixCmdPre" // after a quickfix command is run EventQuickFixCmdPost = "QuickFixCmdPost" // after loading a session file EventSessionLoadPost = "SessionLoadPost" // just before showing the popup menu EventMenuPopup = "MenuPopup" // after popup menu changed, not fired on popup menu hide EventCompleteChanged = "CompleteChanged" // after Insert mode completion is done EventCompleteDone = "CompleteDone" // to be used in combination with ":doautocmd" EventUser = "User" // after Nvim receives a signal EventSignal = "Signal" )
View Source
const ( RegistryTypeBuffer = "buffer" RegistryTypeWindow = "window" RegistryTypeTab = "tab" )
View Source
const ( WindowOptionFixWidth BoolOption = "winfixwidth" // bool WindowOptionNumber BoolOption = "number" // bool WindowOptionRelativeNumber BoolOption = "relativenumber" // bool WindowOptionFoldColumn IntOption = "foldcolumn" // "0" WindowOptionFoldMethod StringOption = "foldmethod" // "manual" WindowOptionFoldEnable BoolOption = "foldenable" // bool WindowOptionWrap BoolOption = "wrap" // bool WindowOptionCursorLine BoolOption = "cursorline" // bool WindowOptionCursorColumn BoolOption = "cursorcolumn" // bool WindowOptionSignColumn StringOption = "signcolumn" // string WindowOptionList BoolOption = "list" // bool WindowOptionWidth IntOption = "winwidth" // int WindowOptionColorColumn StringOption = "colorcolumn" // string WindowOptionSpell BoolOption = "spell" // bool )
Variables ¶
This section is empty.
Functions ¶
func SetupLogging ¶
func SetupLogging() func()
Types ¶
type Api ¶
type Api struct { Out Out Global Global Handler Handler Renderer Renderer // contains filtered or unexported fields }
func (*Api) CreateSplitBuffer ¶
func (api *Api) CreateSplitBuffer(width int, mods ...SplitModifier) *Buffer
func (*Api) CurrentBuffer ¶
func (*Api) CurrentTab ¶
func (*Api) CurrentWindow ¶
type BoolOption ¶
type BoolOption string
type Buffer ¶
type Buffer struct { Options BufferOptions KeyMaps KeyMaps Vars Vars // contains filtered or unexported fields }
func (*Buffer) SetVarBool ¶
func (*Buffer) SetVarString ¶
type BufferHiddenValue ¶
type BufferHiddenValue string
const ( // follow the global 'hidden' option BufferHiddenDefault BufferHiddenValue = "" // hide the buffer (don't unload it), also when 'hidden' is not set BufferHiddenHide BufferHiddenValue = "hide" // the buffer, also when 'hidden' is set or using :hide BufferHiddenUnload BufferHiddenValue = "unload" // the buffer from the buffer list, also when 'hidden' is set or using :hide, like using :bdelete BufferHiddenDelete BufferHiddenValue = "delete" // out the buffer from the buffer list, also when 'hidden' is set or using :hide, like using :bwipeout BufferHiddenWipe BufferHiddenValue = "wipe" )
type BufferOptions ¶
type BufferOptions struct {
// contains filtered or unexported fields
}
func (*BufferOptions) FileType ¶
func (o *BufferOptions) FileType() string
func (*BufferOptions) Hidden ¶
func (o *BufferOptions) Hidden() string
func (*BufferOptions) Modifiable ¶
func (o *BufferOptions) Modifiable() bool
func (*BufferOptions) ReadOnly ¶
func (o *BufferOptions) ReadOnly() bool
func (*BufferOptions) SetFileType ¶
func (o *BufferOptions) SetFileType(value string)
func (*BufferOptions) SetHidden ¶
func (o *BufferOptions) SetHidden(value BufferHiddenValue)
func (*BufferOptions) SetListed ¶
func (o *BufferOptions) SetListed(value bool)
func (*BufferOptions) SetModifiable ¶
func (o *BufferOptions) SetModifiable(value bool)
func (*BufferOptions) SetReadOnly ¶
func (o *BufferOptions) SetReadOnly(value bool)
func (*BufferOptions) SetSwapFile ¶
func (o *BufferOptions) SetSwapFile(value bool)
func (*BufferOptions) SetType ¶
func (o *BufferOptions) SetType(value BufferTypeValue)
func (*BufferOptions) SwapFile ¶
func (o *BufferOptions) SwapFile() bool
func (*BufferOptions) SwapListed ¶
func (o *BufferOptions) SwapListed() bool
func (*BufferOptions) Type ¶
func (o *BufferOptions) Type() string
type BufferTypeValue ¶
type BufferTypeValue string
const ( // normal buffer BufferTypeDefault BufferTypeValue = "" // buffer will always be written with |BufWriteCmd|s BufferTypeAcwrite BufferTypeValue = "acwrite" // help buffer (do not set this manually) BufferTypeHelp BufferTypeValue = "help" // buffer is not related to a file, will not be written BufferTypeNoFile BufferTypeValue = "nofile" // buffer will not be written BufferTypeNowrite BufferTypeValue = "nowrite" // list of errors |:cwindow| or locations |:lwindow BufferTypeQuickFix BufferTypeValue = "quickfix" // |terminal-emulator| buffer BufferTypeTerminal BufferTypeValue = "terminal" )
type Global ¶
type Global struct { Vars Vars Options GlobalOptions KeyMaps KeyMaps // contains filtered or unexported fields }
type GlobalClipboardValue ¶
type GlobalClipboardValue string
const ( GlobalClipboardNone GlobalClipboardValue = "" // When included, Vim will use the clipboard register '*' // for all yank, delete, change and put operations which // would normally go to the unnamed register. When a // register is explicitly specified, it will always be // used regardless of whether "unnamed" is in 'clipboard' // or not. The clipboard register can always be // explicitly accessed using the "* notation. Also see // |clipboard|. GlobalClipboardUnnamed GlobalClipboardValue = "unnamed" // A variant of the "unnamed" flag which uses the // clipboard register '+' (|quoteplus|) instead of // register '*' for all yank, delete, change and put // operations which would normally go to the unnamed // register. When "unnamed" is also included to the // option, yank and delete operations (but not put) // will additionally copy the text into register // '*'. See |clipboard|. GlobalClipboardUnnamedPlus GlobalClipboardValue = "unnamedplus" )
type GlobalOptions ¶
type GlobalOptions struct {
// contains filtered or unexported fields
}
func (GlobalOptions) Clipboard ¶
func (o GlobalOptions) Clipboard() GlobalClipboardValue
func (GlobalOptions) OperatorFunc ¶
func (o GlobalOptions) OperatorFunc() string
func (GlobalOptions) Selection ¶
func (o GlobalOptions) Selection() GlobalSelectionValue
func (GlobalOptions) SetClipboard ¶
func (o GlobalOptions) SetClipboard(value GlobalClipboardValue)
func (GlobalOptions) SetOperatorFunc ¶
func (o GlobalOptions) SetOperatorFunc(fn string)
func (GlobalOptions) SetSelection ¶
func (o GlobalOptions) SetSelection(value GlobalSelectionValue)
type GlobalSelectionValue ¶
type GlobalSelectionValue string
const ( GlobalSelectionOld GlobalSelectionValue = "old" GlobalSelectionInclusive GlobalSelectionValue = "inclusive" GlobalSelectionExclusive GlobalSelectionValue = "exclusive" )
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Create ¶
func (h *Handler) Create(fn interface{}) *HandlerFunc
func (*Handler) SetOperatorFunc ¶
func (h *Handler) SetOperatorFunc(fn func(args []interface{})) disposables.Disposable
type HandlerFunc ¶
type HandlerFunc struct {
// contains filtered or unexported fields
}
func (*HandlerFunc) Dispose ¶
func (h *HandlerFunc) Dispose()
func (*HandlerFunc) String ¶
func (h *HandlerFunc) String() string
func (*HandlerFunc) StringWithEvals ¶
func (h *HandlerFunc) StringWithEvals(evals ...string) string
type Initializable ¶
type KeyMaps ¶
type KeyMaps struct {
// contains filtered or unexported fields
}
func (*KeyMaps) SetTextAction ¶
type RegisterApi ¶
type RegisterApi interface {
Function(name string, fn interface{})
}
type Registerable ¶
type Registerable interface {
Register(api RegisterApi)
}
type SplitModifier ¶
type SplitModifier int
const ( SplitVertical SplitModifier = iota SplitHorizontal SplitTopLeft SplitBottomRight )
func (SplitModifier) String ¶
func (s SplitModifier) String() string
type StringOption ¶
type StringOption string
const ( GlobalOperatorFunc StringOption = "operatorfunc" GlobalSelection StringOption = "selection" GlobalClipboard StringOption = "clipboard" )
type Tab ¶
type Tab struct { Vars Vars // contains filtered or unexported fields }
func (*Tab) HasBufferID ¶
type View ¶
type View interface { FileType() string Attach(ViewRenderer) Lines() []string }
type ViewRenderer ¶
type ViewRenderer struct {
// contains filtered or unexported fields
}
func (*ViewRenderer) ShouldRender ¶
func (r *ViewRenderer) ShouldRender()
type Window ¶
type Window struct { Vars Vars Options WindowOptions // contains filtered or unexported fields }
func (*Window) SetVarBool ¶
func (*Window) SetVarString ¶
type WindowFoldMethodValue ¶
type WindowFoldMethodValue string
const ( // Folds are created manually. WindowFoldMethodManual WindowFoldMethodValue = "manual" // Lines with equal indent form a fold. WindowFoldMethodIndent WindowFoldMethodValue = "indent" // 'foldexpr' gives the fold level of a line. WindowFoldMethodExpr WindowFoldMethodValue = "expr" // Markers are used to specify folds. WindowFoldMethodMarker WindowFoldMethodValue = "marker" // Syntax highlighting items specify folds. WindowFoldMethodSyntax WindowFoldMethodValue = "syntax" // Fold text that is not changed. WindowFoldMethodDiff WindowFoldMethodValue = "diff" )
type WindowOptions ¶
type WindowOptions struct {
// contains filtered or unexported fields
}
func (*WindowOptions) ColorColumn ¶
func (o *WindowOptions) ColorColumn() string
func (*WindowOptions) CursorColumn ¶
func (o *WindowOptions) CursorColumn() bool
func (*WindowOptions) CursorLine ¶
func (o *WindowOptions) CursorLine() bool
func (*WindowOptions) FixWidth ¶
func (o *WindowOptions) FixWidth() bool
func (*WindowOptions) FoldColumn ¶
func (o *WindowOptions) FoldColumn() int
func (*WindowOptions) FoldEnable ¶
func (o *WindowOptions) FoldEnable() bool
func (*WindowOptions) FoldMethod ¶
func (o *WindowOptions) FoldMethod() WindowFoldMethodValue
func (*WindowOptions) List ¶
func (o *WindowOptions) List() bool
func (*WindowOptions) Number ¶
func (o *WindowOptions) Number() bool
func (*WindowOptions) RelativeNumber ¶
func (o *WindowOptions) RelativeNumber() bool
func (*WindowOptions) SetCursorColumn ¶
func (o *WindowOptions) SetCursorColumn(value bool)
func (*WindowOptions) SetCursorLine ¶
func (o *WindowOptions) SetCursorLine(value bool)
func (*WindowOptions) SetFixWidth ¶
func (o *WindowOptions) SetFixWidth(value bool)
func (*WindowOptions) SetFoldColumn ¶
func (o *WindowOptions) SetFoldColumn(value int)
func (*WindowOptions) SetFoldEnable ¶
func (o *WindowOptions) SetFoldEnable(value bool)
func (*WindowOptions) SetFoldMethod ¶
func (o *WindowOptions) SetFoldMethod(value WindowFoldMethodValue)
func (*WindowOptions) SetList ¶
func (o *WindowOptions) SetList(value bool)
func (*WindowOptions) SetNumber ¶
func (o *WindowOptions) SetNumber(value bool)
func (*WindowOptions) SetRelativeNumber ¶
func (o *WindowOptions) SetRelativeNumber(value bool)
func (*WindowOptions) SetSignColumn ¶
func (o *WindowOptions) SetSignColumn(value WindowSignColumnValue, number ...int)
When and how to draw the signcolumn.
func (*WindowOptions) SetSpell ¶
func (o *WindowOptions) SetSpell(value bool)
func (*WindowOptions) SetWidth ¶
func (o *WindowOptions) SetWidth(value int)
func (*WindowOptions) SetWrap ¶
func (o *WindowOptions) SetWrap(value bool)
func (*WindowOptions) SignColumn ¶
func (o *WindowOptions) SignColumn() WindowSignColumnValue
When and how to draw the signcolumn.
func (*WindowOptions) Spell ¶
func (o *WindowOptions) Spell() bool
func (*WindowOptions) Width ¶
func (o *WindowOptions) Width() int
func (*WindowOptions) Wrap ¶
func (o *WindowOptions) Wrap() bool
type WindowSignColumnValue ¶
type WindowSignColumnValue string
const ( WindowSignColumnAuto WindowSignColumnValue = "auto" WindowSignColumnNo WindowSignColumnValue = "no" WindowSignColumnYes WindowSignColumnValue = "yes" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.