yi-0.7.2: The Haskell-Scriptable Editor

Safe HaskellNone

Yi.Snippets

Synopsis

Documentation

type SnippetCmd = RWST (Int, Int) [MarkInfo] () BufferMSource

data SnippetMark Source

Constructors

SimpleMark !Int 
ValuedMark !Int String 
DependentMark !Int 

class MkSnippetCmd a b | a -> b whereSource

(&) :: (MkSnippetCmd a any, MkSnippetCmd b c) => a -> b -> SnippetCmd cSource

(&>) :: (MkSnippetCmd a b, MkSnippetCmd c d) => a -> (b -> c) -> SnippetCmd dSource

newtype SupertabExt Source

Constructors

Supertab (String -> Maybe (BufferM ())) 

Instances

fromSnippets :: Bool -> [(String, SnippetCmd ())] -> SupertabExtSource

Convert snippet description list into a SuperTab extension