| Copyright | (c) Sebastian Witte |
|---|---|
| License | Apache-2.0 |
| Maintainer | woozletoff@gmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Neovim.Quickfix
Description
Synopsis
- setqflist :: (Monoid strType, NvimObject strType) => [QuickfixListItem strType] -> QuickfixAction -> Neovim env ()
- data ColumnNumber
- data SignLocation strType
- = LineNumber Int
- | SearchPattern strType
- data QuickfixListItem strType = QFItem {
- bufOrFile :: Either Int strType
- lnumOrPattern :: Either Int strType
- col :: ColumnNumber
- nr :: Maybe Int
- text :: strType
- errorType :: QuickfixErrorType
- data QuickfixErrorType
- quickfixListItem :: Monoid strType => Either Int strType -> Either Int strType -> QuickfixListItem strType
- data QuickfixAction
Documentation
setqflist :: (Monoid strType, NvimObject strType) => [QuickfixListItem strType] -> QuickfixAction -> Neovim env () Source #
This is a wrapper around neovim's setqflist(). strType can be any
string that you can append to (hence Monoid) that is also an instance
of NvimObject. You can e.g. use the plain old String.
data ColumnNumber Source #
Constructors
| VisualColumn Int | |
| ByteIndexColumn Int | |
| NoColumn |
Instances
data SignLocation strType Source #
Constructors
| LineNumber Int | |
| SearchPattern strType |
Instances
data QuickfixListItem strType Source #
Quickfix list item. The parameter names should mostly conform to those in
:h setqflist(). Some fields are merged to explicitly state mutually
exclusive elements or some other behavior of the fields.
see quickfixListItem for creating a value of this type without typing too
much.
Constructors
| QFItem | |
Fields
| |
Instances
data QuickfixErrorType Source #
Simple error type enum.
Instances
Arguments
| :: Monoid strType | |
| => Either Int strType | buffer of file name |
| -> Either Int strType | line number or pattern |
| -> QuickfixListItem strType |
Create a QuickfixListItem by providing the minimal amount of arguments
needed.
data QuickfixAction Source #
Constructors
| Append | Add items to the current list (or create a new one if none exists). |
| Replace | Replace current list (or create a new one if none exists). |
| New | Create a new list. |