add rainbow csv (also disable prettier)

This commit is contained in:
Michael Peters 2024-07-02 12:08:51 -07:00
parent cca2e20907
commit d3463aa9e0
3 changed files with 8 additions and 4 deletions

View File

@ -25,6 +25,7 @@
"nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },
"nvim-web-devicons": { "branch": "master", "commit": "6662f059bf78e6092ba90cd1929599625f448f55" },
"plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" },
"rainbow_csv": { "branch": "master", "commit": "9997a58bca39c961c3a1ba5bf1e3a180fb17146f" },
"telescope.nvim": { "branch": "master", "commit": "c2b8311dfacd08b3056b8f0249025d633a4e71a8" },
"vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" },
"vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" },

View File

@ -1,7 +1,7 @@
local function config()
local formatter = require('formatter')
local prettierd = require('formatter.defaults.prettierd')
-- local prettierd = require('formatter.defaults.prettierd')
local fmt_lua = require('formatter.filetypes.lua')
local fmt_json = require('formatter.filetypes.json')
local fmt_python = require('formatter.filetypes.python')
@ -21,9 +21,9 @@ local function config()
-- sudo npm i -g fixjson
json = { fmt_json.fixjson },
-- npm i prettierd
typescript = { prettierd },
typescriptreact = { prettierd },
scss = { prettierd },
-- typescript = { prettierd },
-- typescriptreact = { prettierd },
-- scss = { prettierd },
},
})

View File

@ -81,6 +81,9 @@ require('lazy').setup({
-- color string colors (#f1b8f1)
{ 'norcalli/nvim-colorizer.lua', config = require('configs.colorizer') },
-- rainbow csv
{ 'mechatroner/rainbow_csv' },
-- remember last place when opening files
'farmergreg/vim-lastplace',
})