├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── HLint.hs ├── LICENSE ├── README.md ├── RELEASE.md ├── Setup.hs ├── api ├── apiblobs ├── 0.1.7.msgpack ├── 0.10.4.msgpack ├── 0.11.0-nightly.msgpack ├── 0.2.0.msgpack ├── 0.3.0.msgpack ├── 0.4.3.msgpack ├── 0.5.0.msgpack ├── 0.6.1.msgpack ├── 0.8.0.msgpack └── README.md ├── example ├── lib │ ├── Fibonacci.hs │ ├── Fibonacci │ │ └── Plugin.hs │ ├── Random.hs │ └── Random │ │ └── Plugin.hs └── nvim.hs ├── flake.lock ├── flake.nix ├── fourmolu.yaml ├── nvim-hs.cabal ├── src ├── Neovim.hs └── Neovim │ ├── API │ ├── ByteString.hs │ ├── Parser.hs │ ├── String.hs │ ├── TH.hs │ └── Text.hs │ ├── Classes.hs │ ├── Compat │ └── Megaparsec.hs │ ├── Config.hs │ ├── Context.hs │ ├── Context │ └── Internal.hs │ ├── Debug.hs │ ├── Exceptions.hs │ ├── Log.hs │ ├── Main.hs │ ├── Plugin.hs │ ├── Plugin │ ├── Classes.hs │ ├── IPC.hs │ ├── IPC │ │ └── Classes.hs │ └── Internal.hs │ ├── Quickfix.hs │ ├── RPC │ ├── Classes.hs │ ├── Common.hs │ ├── EventHandler.hs │ ├── FunctionCall.hs │ └── SocketReader.hs │ ├── Test.hs │ └── Util.hs ├── srcos ├── unix │ └── Neovim │ │ └── OS.hs └── windows │ └── Neovim │ └── OS.hs ├── stack-ghc-9.4.yaml ├── stack-ghc-9.6.yaml ├── stack-ghc-9.8.yaml ├── stack-template.hsfiles ├── stack.yaml ├── test-files └── hello └── tests ├── API ├── THSpec.hs └── THSpecFunctions.hs ├── AsyncFunctionSpec.hs ├── EmbeddedRPCSpec.hs ├── EventSubscriptionSpec.hs ├── Plugin └── ClassesSpec.hs ├── RPC ├── CommonSpec.hs └── SocketReaderSpec.hs └── Spec.hs /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /HLint.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/HLint.hs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/RELEASE.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | 3 | main = defaultMain 4 | -------------------------------------------------------------------------------- /api: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/api -------------------------------------------------------------------------------- /apiblobs/0.1.7.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.1.7.msgpack -------------------------------------------------------------------------------- /apiblobs/0.10.4.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.10.4.msgpack -------------------------------------------------------------------------------- /apiblobs/0.11.0-nightly.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.11.0-nightly.msgpack -------------------------------------------------------------------------------- /apiblobs/0.2.0.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.2.0.msgpack -------------------------------------------------------------------------------- /apiblobs/0.3.0.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.3.0.msgpack -------------------------------------------------------------------------------- /apiblobs/0.4.3.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.4.3.msgpack -------------------------------------------------------------------------------- /apiblobs/0.5.0.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.5.0.msgpack -------------------------------------------------------------------------------- /apiblobs/0.6.1.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.6.1.msgpack -------------------------------------------------------------------------------- /apiblobs/0.8.0.msgpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/0.8.0.msgpack -------------------------------------------------------------------------------- /apiblobs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/apiblobs/README.md -------------------------------------------------------------------------------- /example/lib/Fibonacci.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/example/lib/Fibonacci.hs -------------------------------------------------------------------------------- /example/lib/Fibonacci/Plugin.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/example/lib/Fibonacci/Plugin.hs -------------------------------------------------------------------------------- /example/lib/Random.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/example/lib/Random.hs -------------------------------------------------------------------------------- /example/lib/Random/Plugin.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/example/lib/Random/Plugin.hs -------------------------------------------------------------------------------- /example/nvim.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/example/nvim.hs -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/flake.nix -------------------------------------------------------------------------------- /fourmolu.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/fourmolu.yaml -------------------------------------------------------------------------------- /nvim-hs.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/nvim-hs.cabal -------------------------------------------------------------------------------- /src/Neovim.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim.hs -------------------------------------------------------------------------------- /src/Neovim/API/ByteString.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/API/ByteString.hs -------------------------------------------------------------------------------- /src/Neovim/API/Parser.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/API/Parser.hs -------------------------------------------------------------------------------- /src/Neovim/API/String.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/API/String.hs -------------------------------------------------------------------------------- /src/Neovim/API/TH.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/API/TH.hs -------------------------------------------------------------------------------- /src/Neovim/API/Text.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/API/Text.hs -------------------------------------------------------------------------------- /src/Neovim/Classes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Classes.hs -------------------------------------------------------------------------------- /src/Neovim/Compat/Megaparsec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Compat/Megaparsec.hs -------------------------------------------------------------------------------- /src/Neovim/Config.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Config.hs -------------------------------------------------------------------------------- /src/Neovim/Context.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Context.hs -------------------------------------------------------------------------------- /src/Neovim/Context/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Context/Internal.hs -------------------------------------------------------------------------------- /src/Neovim/Debug.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Debug.hs -------------------------------------------------------------------------------- /src/Neovim/Exceptions.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Exceptions.hs -------------------------------------------------------------------------------- /src/Neovim/Log.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Log.hs -------------------------------------------------------------------------------- /src/Neovim/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Main.hs -------------------------------------------------------------------------------- /src/Neovim/Plugin.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Plugin.hs -------------------------------------------------------------------------------- /src/Neovim/Plugin/Classes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Plugin/Classes.hs -------------------------------------------------------------------------------- /src/Neovim/Plugin/IPC.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Plugin/IPC.hs -------------------------------------------------------------------------------- /src/Neovim/Plugin/IPC/Classes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Plugin/IPC/Classes.hs -------------------------------------------------------------------------------- /src/Neovim/Plugin/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Plugin/Internal.hs -------------------------------------------------------------------------------- /src/Neovim/Quickfix.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Quickfix.hs -------------------------------------------------------------------------------- /src/Neovim/RPC/Classes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/RPC/Classes.hs -------------------------------------------------------------------------------- /src/Neovim/RPC/Common.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/RPC/Common.hs -------------------------------------------------------------------------------- /src/Neovim/RPC/EventHandler.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/RPC/EventHandler.hs -------------------------------------------------------------------------------- /src/Neovim/RPC/FunctionCall.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/RPC/FunctionCall.hs -------------------------------------------------------------------------------- /src/Neovim/RPC/SocketReader.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/RPC/SocketReader.hs -------------------------------------------------------------------------------- /src/Neovim/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Test.hs -------------------------------------------------------------------------------- /src/Neovim/Util.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/src/Neovim/Util.hs -------------------------------------------------------------------------------- /srcos/unix/Neovim/OS.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/srcos/unix/Neovim/OS.hs -------------------------------------------------------------------------------- /srcos/windows/Neovim/OS.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/srcos/windows/Neovim/OS.hs -------------------------------------------------------------------------------- /stack-ghc-9.4.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/stack-ghc-9.4.yaml -------------------------------------------------------------------------------- /stack-ghc-9.6.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/stack-ghc-9.6.yaml -------------------------------------------------------------------------------- /stack-ghc-9.8.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/stack-ghc-9.8.yaml -------------------------------------------------------------------------------- /stack-template.hsfiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/stack-template.hsfiles -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/stack.yaml -------------------------------------------------------------------------------- /test-files/hello: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /tests/API/THSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/API/THSpec.hs -------------------------------------------------------------------------------- /tests/API/THSpecFunctions.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/API/THSpecFunctions.hs -------------------------------------------------------------------------------- /tests/AsyncFunctionSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/AsyncFunctionSpec.hs -------------------------------------------------------------------------------- /tests/EmbeddedRPCSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/EmbeddedRPCSpec.hs -------------------------------------------------------------------------------- /tests/EventSubscriptionSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/EventSubscriptionSpec.hs -------------------------------------------------------------------------------- /tests/Plugin/ClassesSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/Plugin/ClassesSpec.hs -------------------------------------------------------------------------------- /tests/RPC/CommonSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/RPC/CommonSpec.hs -------------------------------------------------------------------------------- /tests/RPC/SocketReaderSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neovimhaskell/nvim-hs/HEAD/tests/RPC/SocketReaderSpec.hs -------------------------------------------------------------------------------- /tests/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover #-} 2 | --------------------------------------------------------------------------------