diff options
author | Christian Segundo | 2023-11-05 12:32:36 +0100 |
---|---|---|
committer | Christian Segundo | 2023-11-05 12:32:36 +0100 |
commit | 62742ec3d18a65e86cbdd6a5e1ca8a9e09a4e811 (patch) | |
tree | 1403275670f5542d2248970c2493903bc883f814 /public/nvim/.nvim/lua/plugins/lang | |
parent | c5b2d56ca133474f1803467e046a98bed3274b85 (diff) | |
download | dotfiles-62742ec3d18a65e86cbdd6a5e1ca8a9e09a4e811.tar.gz |
add ledger
Diffstat (limited to 'public/nvim/.nvim/lua/plugins/lang')
-rw-r--r-- | public/nvim/.nvim/lua/plugins/lang/ledger.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/public/nvim/.nvim/lua/plugins/lang/ledger.lua b/public/nvim/.nvim/lua/plugins/lang/ledger.lua new file mode 100644 index 0000000..bc265e1 --- /dev/null +++ b/public/nvim/.nvim/lua/plugins/lang/ledger.lua @@ -0,0 +1,25 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + if type(opts) == "table" then + opts.ensure_installed = opts.ensure_installed or {} + vim.list_extend(opts.ensure_installed, { "ledger" }) + end + end, + }, + { + "ledger/vim-ledger", + ft = { "ldg", "ledger", "journal" }, + }, + -- TODO + --{ + --"hrsh7th/nvim-cmp", + --opts = function(_, opts) + --if type(opts) == "table" then + --opts.sources = opts.sources or {} + --vim.list_extend(opts.sources, { name = "ledger" }) + --end + --end, + --}, +} |