1
0
Fork 0
dotfiles/config/nvim/plugins/visual-eof.fnl

11 lines
644 B
Text
Raw Normal View History

2022-04-05 19:57:44 +00:00
(let [visual-eof (require :visual-eof)]
(visual-eof.setup {:text_EOL "↵"
:text_NOEOL "✗↵"
2022-04-17 19:44:56 +00:00
:ft_ng [:git.* :netrw :TelescopePrompt :toggleterm]
2022-04-05 19:57:44 +00:00
:buf_filter (lambda [bufnr]
(let [disable_buftypes [:terminal :nofile]
buftype (vim.api.nvim_buf_get_option bufnr
:buftype)]
(not (vim.tbl_contains disable_buftypes
buftype))))}))