From 567d248572387867cf3ca6eb34a819e6e370c0ed Mon Sep 17 00:00:00 2001 From: Avinal Kumar Date: Tue, 25 Jun 2024 17:10:35 +0530 Subject: [PATCH] fix zellij highlight issue and other things Signed-off-by: Avinal Kumar --- .config/gh/config.yml | 17 ++++++++++++++++ .config/gh/hosts.yml | 5 +++++ .config/nvim/lua/custom/plugins/nvim-tree.lua | 1 - .config/nvim/lua/custom/plugins/themes.lua | 1 + .config/nvim/lua/kickstart/plugins/lint.lua | 1 + .../nvim/lua/kickstart/plugins/lspconfig.lua | 2 +- .config/nvim/lua/kickstart/plugins/mini.lua | 3 +++ .../nvim/lua/kickstart/plugins/tokyonight.lua | 20 ------------------- .config/zellij/config.kdl | 4 ++-- 9 files changed, 30 insertions(+), 24 deletions(-) create mode 100644 .config/gh/config.yml create mode 100644 .config/gh/hosts.yml delete mode 100644 .config/nvim/lua/custom/plugins/nvim-tree.lua delete mode 100644 .config/nvim/lua/kickstart/plugins/tokyonight.lua diff --git a/.config/gh/config.yml b/.config/gh/config.yml new file mode 100644 index 0000000..6b07b59 --- /dev/null +++ b/.config/gh/config.yml @@ -0,0 +1,17 @@ +# The current version of the config schema +version: 1 +# What protocol to use when performing git operations. Supported values: ssh, https +git_protocol: ssh +# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment. +editor: nvim +# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled +prompt: enabled +# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager. +pager: less +# Aliases allow you to create nicknames for gh commands +aliases: + co: pr checkout +# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport. +http_unix_socket: +# What web browser gh should use when opening URLs. If blank, will refer to environment. +browser: diff --git a/.config/gh/hosts.yml b/.config/gh/hosts.yml new file mode 100644 index 0000000..892b0e0 --- /dev/null +++ b/.config/gh/hosts.yml @@ -0,0 +1,5 @@ +github.com: + git_protocol: ssh + users: + avinal: + user: avinal diff --git a/.config/nvim/lua/custom/plugins/nvim-tree.lua b/.config/nvim/lua/custom/plugins/nvim-tree.lua deleted file mode 100644 index a564707..0000000 --- a/.config/nvim/lua/custom/plugins/nvim-tree.lua +++ /dev/null @@ -1 +0,0 @@ -return {} diff --git a/.config/nvim/lua/custom/plugins/themes.lua b/.config/nvim/lua/custom/plugins/themes.lua index 339eff5..3d5e1fd 100644 --- a/.config/nvim/lua/custom/plugins/themes.lua +++ b/.config/nvim/lua/custom/plugins/themes.lua @@ -21,3 +21,4 @@ return { } end, } +--- vim: ts=2 sts=2 sw=2 et diff --git a/.config/nvim/lua/kickstart/plugins/lint.lua b/.config/nvim/lua/kickstart/plugins/lint.lua index 7f0dc42..7b955d1 100644 --- a/.config/nvim/lua/kickstart/plugins/lint.lua +++ b/.config/nvim/lua/kickstart/plugins/lint.lua @@ -7,6 +7,7 @@ return { local lint = require 'lint' lint.linters_by_ft = { markdown = { 'markdownlint' }, + yaml = { 'yamllint' }, } -- To allow other plugins to add linters to require('lint').linters_by_ft, diff --git a/.config/nvim/lua/kickstart/plugins/lspconfig.lua b/.config/nvim/lua/kickstart/plugins/lspconfig.lua index 409ed54..2535f03 100644 --- a/.config/nvim/lua/kickstart/plugins/lspconfig.lua +++ b/.config/nvim/lua/kickstart/plugins/lspconfig.lua @@ -164,7 +164,7 @@ return { dockerls = {}, marksman = {}, -- pyright = {}, - -- rust_analyzer = {}, + rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: diff --git a/.config/nvim/lua/kickstart/plugins/mini.lua b/.config/nvim/lua/kickstart/plugins/mini.lua index 3e924a8..5150df2 100644 --- a/.config/nvim/lua/kickstart/plugins/mini.lua +++ b/.config/nvim/lua/kickstart/plugins/mini.lua @@ -34,6 +34,9 @@ return { -- ... and there is more! -- Check out: https://github.com/echasnovski/mini.nvim + + -- Enable tabline + -- require('mini.tabline').setup() end, }, } diff --git a/.config/nvim/lua/kickstart/plugins/tokyonight.lua b/.config/nvim/lua/kickstart/plugins/tokyonight.lua deleted file mode 100644 index 3e5e74d..0000000 --- a/.config/nvim/lua/kickstart/plugins/tokyonight.lua +++ /dev/null @@ -1,20 +0,0 @@ -return { - { -- You can easily change to a different colorscheme. - -- Change the name of the colorscheme plugin below, and then - -- change the command in the config to whatever the name of that colorscheme is. - -- - -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. - 'folke/tokyonight.nvim', - priority = 1000, -- Make sure to load this before all the other start plugins. - init = function() - -- Load the colorscheme here. - -- Like many other themes, this one has different styles, and you could load - -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' - - -- You can configure highlights by doing something like: - vim.cmd.hi 'Comment gui=none' - end, - }, -} --- vim: ts=2 sts=2 sw=2 et diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index 7aa5725..4c3c93f 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -242,7 +242,7 @@ serialize_pane_viewport true // themes { carbonfox { - bg "#161616" + bg "#2a2a2a" fg "#f2f4f8" red "#ee5396" green "#25be6a" @@ -262,7 +262,7 @@ themes { theme "carbonfox" // The name of the default layout to load on startup -// Default: "default" +Default: "compact" // default_layout "compact"