Skip to content

Commit

Permalink
feat: add custom file type for split
Browse files Browse the repository at this point in the history
  • Loading branch information
jellydn committed Nov 9, 2023
1 parent 68eaf3f commit 61ccf1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/hurl/split.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ local split = Split({
relative = 'editor',
position = _HURL_GLOBAL_CONFIG.split_position,
size = _HURL_GLOBAL_CONFIG.split_size,
-- Create a custom filetype so that we can use https://github.com/folke/edgy.nvim to manage the window
-- E.g: { title = "Hurl Nvim", ft = "hurl-nvim" },
buf_options = { filetype = 'hurl-nvim' },
})

local utils = require('hurl.utils')
Expand Down

0 comments on commit 61ccf1f

Please sign in to comment.