From c3544c5fcedc68372ea9518082bfbddaea0b26ef Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Thu, 14 Sep 2023 13:51:29 +0200 Subject: [PATCH] Minor tweaks --- eww/.config/eww/eww.scss | 2 +- nvim/.config/nvim/lua/evim/packer.lua | 2 +- nvim/.config/nvim/plugin/after/treesitter.lua | 30 +++++++++---------- nvim/.config/nvim/plugin/packer_compiled.lua | 21 ++----------- 4 files changed, 19 insertions(+), 36 deletions(-) diff --git a/eww/.config/eww/eww.scss b/eww/.config/eww/eww.scss index b89c225..ac5b11b 100644 --- a/eww/.config/eww/eww.scss +++ b/eww/.config/eww/eww.scss @@ -40,7 +40,7 @@ tooltip { .bar-1, .bar-2 { - background-color: rgba(0, 0, 0, 0.5); + background-color: rgba(0, 0, 0, 0.7); } .main-cont { diff --git a/nvim/.config/nvim/lua/evim/packer.lua b/nvim/.config/nvim/lua/evim/packer.lua index 44aa6a9..7f6347f 100644 --- a/nvim/.config/nvim/lua/evim/packer.lua +++ b/nvim/.config/nvim/lua/evim/packer.lua @@ -16,7 +16,7 @@ vim.cmd [[packadd packer.nvim]] return require("packer").startup(function(use) -- Core use "wbthomason/packer.nvim" - use("nvim-treesitter/nvim-treesitter", { run = ":TSUpdate" }) + -- use("nvim-treesitter/nvim-treesitter", { run = ":TSUpdate" }) use { "nvim-telescope/telescope.nvim", tag = "0.1.1", requires = { { "nvim-lua/plenary.nvim" } } diff --git a/nvim/.config/nvim/plugin/after/treesitter.lua b/nvim/.config/nvim/plugin/after/treesitter.lua index fa9f65a..5ade8c7 100644 --- a/nvim/.config/nvim/plugin/after/treesitter.lua +++ b/nvim/.config/nvim/plugin/after/treesitter.lua @@ -1,16 +1,16 @@ -- Treesitter init -require("nvim-treesitter.configs").setup({ - -- A list of parser names, or "all" (the five listed parsers should always be installed) - ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "typescript", "javascript", "python", "rust" }, - - -- Install parsers synchronously (only applied to `ensure_installed`) - sync_install = false, - - -- Automatically install missing parsers when entering buffer - -- Recommendation: set to false if you don"t have `tree-sitter` CLI installed locally - auto_install = true, - highlight = { - enable = true, - additional_vim_regex_highlighting = false, - }, -}) +-- require("nvim-treesitter.configs").setup({ +-- -- A list of parser names, or "all" (the five listed parsers should always be installed) +-- ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "typescript", "javascript", "python", "rust" }, +-- +-- -- Install parsers synchronously (only applied to `ensure_installed`) +-- sync_install = false, +-- +-- -- Automatically install missing parsers when entering buffer +-- -- Recommendation: set to false if you don"t have `tree-sitter` CLI installed locally +-- auto_install = true, +-- highlight = { +-- enable = true, +-- additional_vim_regex_highlighting = false, +-- }, +-- }) diff --git a/nvim/.config/nvim/plugin/packer_compiled.lua b/nvim/.config/nvim/plugin/packer_compiled.lua index 5eaefc9..cd95cc1 100644 --- a/nvim/.config/nvim/plugin/packer_compiled.lua +++ b/nvim/.config/nvim/plugin/packer_compiled.lua @@ -49,8 +49,8 @@ local function save_profiles(threshold) end time([[Luarocks path setup]], true) -local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/lib/luarocks/rocks-5.1/?/init.lua" -local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1692616192/lib/lua/5.1/?.so" +local package_path_str = "/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/share/lua/5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/share/lua/5.1/?/init.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/lib/luarocks/rocks-5.1/?.lua;/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/lib/luarocks/rocks-5.1/?/init.lua" +local install_cpath_pattern = "/home/elal/.cache/nvim/packer_hererocks/2.1.1693350652/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end @@ -147,11 +147,6 @@ _G.packer_plugins = { path = "/home/elal/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", url = "https://github.com/neovim/nvim-lspconfig" }, - ["nvim-treesitter"] = { - loaded = true, - path = "/home/elal/.local/share/nvim/site/pack/packer/start/nvim-treesitter", - url = "https://github.com/nvim-treesitter/nvim-treesitter" - }, ["nvim-web-devicons"] = { loaded = false, needs_bufread = false, @@ -202,18 +197,6 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) --- Config for: Comment.nvim -time([[Config for Comment.nvim]], true) -try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim") -time([[Config for Comment.nvim]], false) --- Config for: nvim-autopairs -time([[Config for nvim-autopairs]], true) -try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") -time([[Config for nvim-autopairs]], false) --- Config for: gitsigns.nvim -time([[Config for gitsigns.nvim]], true) -try_loadstring("\27LJ\2\n6\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\rgitsigns\frequire\0", "config", "gitsigns.nvim") -time([[Config for gitsigns.nvim]], false) -- Config for: nvim-autopairs time([[Config for nvim-autopairs]], true) try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs")