Skip to content

Commit

Permalink
feat(buffer): set filetype to "notify"
Browse files Browse the repository at this point in the history
Allows users to filter windows from use in plugins like nvim-tree.

See #18
  • Loading branch information
rcarriga committed Sep 6, 2021
1 parent 3c394b3 commit 6602d0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/notify/service/buffer/init.lua
Expand Up @@ -74,6 +74,7 @@ function NotificationBuf:render()
local notif = self._notif
local buf = self._buffer

api.nvim_buf_set_option(buf, "filetype", "notify")
api.nvim_buf_set_option(buf, "modifiable", true)

local left_icon = notif.icon .. " "
Expand Down

0 comments on commit 6602d0d

Please sign in to comment.