mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
feat(nvim): LSPs and refractor plugins.lang
This commit is contained in:
parent
9315c6e55d
commit
5f5e41c247
15 changed files with 85 additions and 42 deletions
13
tools/nvim/lua/plugins/lang/beancount.lua
Normal file
13
tools/nvim/lua/plugins/lang/beancount.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
-- 在 init.lua 或者你的配置文件中添加
|
||||
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||
pattern = "*.bean",
|
||||
callback = function()
|
||||
vim.bo.filetype = "beancount"
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
return {
|
||||
"nathangrigg/vim-beancount",
|
||||
ft = "beancount",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue