mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +02:00
plugins/csvview: init
This commit is contained in:
parent
6c93c52dc1
commit
4f4917be69
2 changed files with 160 additions and 0 deletions
48
tests/test-sources/plugins/by-name/csvview/default.nix
Normal file
48
tests/test-sources/plugins/by-name/csvview/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.csvview.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.csvview = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
parser = {
|
||||
async_chunksize = 50;
|
||||
delimiter = {
|
||||
default = ",";
|
||||
ft = {
|
||||
tsv = "\t";
|
||||
};
|
||||
};
|
||||
quote_char = ''"'';
|
||||
comments = [
|
||||
"#"
|
||||
"--"
|
||||
"//"
|
||||
];
|
||||
};
|
||||
view = {
|
||||
min_column_width = 5;
|
||||
spacing = 2;
|
||||
display_mode = "highlight";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.csvview = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
parser.async_chunksize = 30;
|
||||
view = {
|
||||
spacing = 4;
|
||||
display_mode = "border";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue