2022-04-05 19:57:44 +00:00
|
|
|
(let [visual-eof (require :visual-eof)]
|
|
|
|
(visual-eof.setup {:text_EOL "↵"
|
|
|
|
:text_NOEOL "✗↵"
|
2022-04-10 21:47:39 +00:00
|
|
|
:ft_ng [:git.* :netrw :TelescopePrompt]
|
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))))}))
|