Skip to content

Commit

Permalink
Updated git-blame-percentages, Updated neovim config
Browse files Browse the repository at this point in the history
  • Loading branch information
Conner.Will committed Apr 30, 2024
1 parent 40686e9 commit 895a2c0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .config/nvim/lua/config/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ opt.mouse = "nv"
opt.foldmethod = "expr"
opt.foldexpr = "nvim_treesitter#foldexpr()"

vim.g.lazyvim_python_lsp = "pyright"

--[[ DEFAULT
-- This file is automatically loaded by plugins.core
Expand Down
8 changes: 6 additions & 2 deletions .config/nvim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ return {
-- denols = {},
cssls = {},
dockerls = {},
-- groovyls = {},
-- ruff_lsp = {},
-- tailwindcss = {
-- root_dir = function(...)
Expand Down Expand Up @@ -107,8 +108,11 @@ return {
html = {},
-- gopls = {},
marksman = {},
-- pyright = {
-- enabled = false,
pyright = {
enabled = true,
},
-- basedpyright = {
-- enabled = lsp == "basedpyright",
-- },
-- rust_analyzer = {
-- settings = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ function git-blame-percentages(){
## Get repository name
local repo_name=$(basename $(git rev-parse --show-toplevel))

## Get repository branch name
local repo_branch=$(git rev-parse --abbrev-ref HEAD)

## Get current date
local current_date=$(date +"%Y-%m-%d")

## Print repository information
printf "Repository: %s\n" "${repo_name}"
printf "Branch: %s\n" "${repo_branch}"
printf "Date: %s\n" "${current_date}"
printf "\n"

Expand Down

0 comments on commit 895a2c0

Please sign in to comment.