Copyright | (c) Sebastian Witte |
---|---|
License | Apache-2.0 |
Maintainer | woozletoff@gmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
- setqflist :: (Monoid strType, NvimObject strType) => [QuickfixListItem strType] -> QuickfixAction -> Neovim r st ()
- data QuickfixListItem strType = QFItem {}
- 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 r st () 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 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.
QFItem | |
|
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.
:: 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.