mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
16 lines
354 B
Lua
16 lines
354 B
Lua
-- bootstrap lazy.nvim, LazyVim and your plugin
|
|
vim.g.netrw_browsex_viewer = "xdg-open"
|
|
|
|
require("config.lazy")
|
|
|
|
vim.filetype.add({
|
|
pattern = {
|
|
[".*"] = function(path, bufnr)
|
|
local first_line = vim.api.nvim_buf_get_lines(bufnr, 0, 1, false)[1] or ""
|
|
if first_line:match("^#!.*zsh") then
|
|
return "bash"
|
|
end
|
|
end,
|
|
},
|
|
})
|