| Copyright | (c) Sebastian Witte |
|---|---|
| License | Apache-2.0 |
| Maintainer | woozletoff@gmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Neovim.Quickfix
Description
- 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 SignLocation strType Source #
Constructors
| LineNumber Int | |
| SearchPattern strType |
Instances
| Eq strType => Eq (SignLocation strType) Source # | |
| Ord strType => Ord (SignLocation strType) Source # | |
| Show strType => Show (SignLocation strType) Source # | |
| Generic (SignLocation strType) Source # | |
| NFData strType => NFData (SignLocation strType) Source # | |
| type Rep (SignLocation strType) Source # | |
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
| Eq strType => Eq (QuickfixListItem strType) Source # | |
| Show strType => Show (QuickfixListItem strType) Source # | |
| Generic (QuickfixListItem strType) Source # | |
| NFData strType => NFData (QuickfixListItem strType) Source # | |
| (Monoid strType, NvimObject strType) => NvimObject (QuickfixListItem strType) Source # | |
| type Rep (QuickfixListItem strType) Source # | |
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.