better support for csv/tsv
This commit is contained in:
parent
bf4f57776c
commit
bcbdda6ce3
2 changed files with 7 additions and 0 deletions
1
ftplugin/tsv.lua
Normal file
1
ftplugin/tsv.lua
Normal file
|
@ -0,0 +1 @@
|
||||||
|
vim.opt.expandtab = false
|
|
@ -316,7 +316,13 @@ return {
|
||||||
|
|
||||||
{
|
{
|
||||||
"https://github.com/hat0uma/csvview.nvim",
|
"https://github.com/hat0uma/csvview.nvim",
|
||||||
|
ft = {"csv", "tsv"},
|
||||||
opts = {},
|
opts = {},
|
||||||
|
keys = {
|
||||||
|
{ "<localleader>e", "<CMD>CsvViewEnable<CR>", desc = "enable csv preview", },
|
||||||
|
{ "<localleader>d", "<CMD>CsvViewDisable<CR>", desc = "disable csv preview", },
|
||||||
|
{ "<localleader>t", "<CMD>CsvViewToggle<CR>", desc = "toggle csv preview", },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue