Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions specific to vim tags.
Synopsis
- merge :: Int -> [FilePath] -> [[Pos TagVal]] -> [Text] -> [Text]
- dropAdjacentInFile :: (a -> Int) -> Int -> [a] -> [a]
- data Parsed = Parsed {}
- parseTag :: Text -> Maybe Parsed
- dropAdjacent :: Int -> [(Parsed, a)] -> [(Parsed, a)]
- keyOnJust :: (a -> Maybe k) -> [a] -> [(k, a)]
- showTag :: Pos TagVal -> Text
Documentation
merge :: Int -> [FilePath] -> [[Pos TagVal]] -> [Text] -> [Text] Source #
Format new tags, drop old tags from the loaded files, merge old and new, and sort.
dropAdjacentInFile :: (a -> Int) -> Int -> [a] -> [a] Source #
Split this out so I can share it with emacs.
The Ord instance determines the sort order for the tags file.