auto-cron changes and some plugins
Prithu Goswami pg@prithu.dev
Mon, 25 Sep 2023 22:48:01 +0530
5 files changed,
14 insertions(+),
11 deletions(-)
M
bin/cron/org-autocommit-cron
→
bin/cron/org-autocommit-cron
@@ -1,5 +1,3 @@
-#!/bin/sh - cd $HOME/docs/org cmsg=$(git status -s) git pull
M
config/nvim/init.lua
→
config/nvim/init.lua
@@ -85,6 +85,9 @@ }
} } +require("symbols-outline").setup() + + require('telescope').load_extension('fzf') -- require'nvim-treesitter.configs'.setup {
M
config/nvim/lua/lsp/init.lua
→
config/nvim/lua/lsp/init.lua
@@ -133,10 +133,10 @@ condition = function(utils)
return utils.root_has_file({".flake8"}) end, }), - -- null_ls.builtins.diagnostics.mypy.with({ - -- condition = function(utils) - -- return utils.root_has_file({"pyproject.toml"}) - -- end, - -- }), + null_ls.builtins.diagnostics.mypy.with({ + condition = function(utils) + return utils.root_has_file({"pyproject.toml"}) + end, + }), }, })
M
config/nvim/lua/plugins.lua
→
config/nvim/lua/plugins.lua
@@ -30,6 +30,7 @@ "SmiteshP/nvim-navic",
requires = "neovim/nvim-lspconfig" } use 'neoclide/vim-jsx-improve' + use 'simrat39/symbols-outline.nvim' -- completion use 'hrsh7th/nvim-cmp'@@ -54,10 +55,10 @@ requires = { {'nvim-lua/plenary.nvim'} }
} -- treesitter - use { - 'nvim-treesitter/nvim-treesitter', - run = ':TSUpdate' - } + -- use { + -- 'nvim-treesitter/nvim-treesitter', + -- run = ':TSUpdate' + -- } use 'simeji/winresizer' use 'rstacruz/vim-closer'
M
home/.gitconfig
→
home/.gitconfig
@@ -10,6 +10,7 @@ [alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all lgh = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ah)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all + lgs = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset)%C(bold yellow)%d%C(reset)' --all lg = !"git lg1" sra = !"git log --format=%H -n 10 --all | xargs git show" sr = !"git log --format=%H -n 10 | xargs git show"