From d3463aa9e04432c7fa004650441fe9c55d3b0261 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Tue, 2 Jul 2024 12:08:51 -0700 Subject: [PATCH] add rainbow csv (also disable prettier) --- lazy-lock.json | 1 + lua/configs/formatter.lua | 8 ++++---- lua/plugins.lua | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index e631f0e..12a5123 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -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" }, diff --git a/lua/configs/formatter.lua b/lua/configs/formatter.lua index 4784b31..c4aa8d3 100644 --- a/lua/configs/formatter.lua +++ b/lua/configs/formatter.lua @@ -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 }, }, }) diff --git a/lua/plugins.lua b/lua/plugins.lua index 5b4047e..56a5c7b 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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', })