Skip to content

Commit

Permalink
chore: Update README.md
Browse files Browse the repository at this point in the history
chore: Update README.md
  • Loading branch information
KingMichaelPark committed May 15, 2024
1 parent a5c8ca5 commit 6899be7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 38 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# My Dotfiles

<img width="1462" alt="image" src="https://github.com/KingMichaelPark/dotfiles/assets/64011084/ad1fe827-c0a0-4211-a0cf-3a5ca74fc9ba">


![Github tag (latest by SemVer)](https://img.shields.io/github/v/tag/kingmichaelpark/dotfiles?style=flat-square)
![Mastodon Follow](https://img.shields.io/mastodon/follow/109638370673707754?domain=https%3A%2F%2Ffosstodon.org&style=social)

Expand Down
20 changes: 10 additions & 10 deletions nvim/.config/nvim/lua/plugins/chatgpt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ return {
"jackMort/ChatGPT.nvim",
enabled = true,
keys = {
{ "<leader>Cc", '<cmd>ChatGPT<cr>', desc = "ChatGPT", },
{ "<leader>Ce", { "n", "v" }, '<cmd>ChatGPTEditWithInstruction<cr>', desc = "ChatGPT" },
{ "<leader>Cd",{ "n", "v" }, "<cmd>ChatGPTRun docstring<CR>", desc="Docstring" },
{ "<leader>Ct",{ "n", "v" }, "<cmd>ChatGPTRun add_tests<CR>", desc="Add Tests" },
{ "<leader>Co",{ "n", "v" }, "<cmd>ChatGPTRun optimize_code<CR>", desc="Optimize code" },
{ "<leader>Cs",{ "n", "v" }, "<cmd>ChatGPTRun summarize<CR>", desc="Optimize code" },
{ "<leader>Cx",{ "n", "v" }, "<cmd>ChatGPTRun explain_code<CR>", desc="Explain code" },
{ "<leader>Cf",{ "n", "v" }, "<cmd>ChatGPTRun fix_bugs<CR>", desc="Fix bugs" },
{ "<leader>Cc", '<cmd>ChatGPT<cr>', desc = "ChatGPT", },
{ "<leader>Ce", '<cmd>ChatGPTEditWithInstruction<cr>', { "n", "v" }, desc = "ChatGPT" },
{ "<leader>Cd", "<cmd>ChatGPTRun docstring<CR>", { "n", "v" }, desc = "Docstring" },
{ "<leader>Ct", "<cmd>ChatGPTRun add_tests<CR>", { "n", "v" }, desc = "Add Tests" },
{ "<leader>Co", "<cmd>ChatGPTRun optimize_code<CR>", { "n", "v" }, desc = "Optimize code" },
{ "<leader>Cs", "<cmd>ChatGPTRun summarize<CR>", { "n", "v" }, desc = "Optimize code" },
{ "<leader>Cx", "<cmd>ChatGPTRun explain_code<CR>", { "n", "v" }, desc = "Explain code" },
{ "<leader>Cf", "<cmd>ChatGPTRun fix_bugs<CR>", { "n", "v" }, desc = "Fix bugs" },
},
config = function()
local identity = vim.fn.expand('$HOME/.config/sops/age/keys.txt')
Expand All @@ -32,7 +32,7 @@ return {
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
{"nvim-telescope/telescope.nvim", lazy = true},
{ "KingMichaelPark/age.nvim", lazy = true },
{ "nvim-telescope/telescope.nvim", lazy = true },
{ "KingMichaelPark/age.nvim", lazy = true },
}
}
56 changes: 28 additions & 28 deletions nvim/.config/nvim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,34 +91,34 @@ return {
cmd = { "/Users/mike/.local/share/nvim/mason/packages/elixir-ls/language_server.sh" },
})

-- -- Lua
-- lsp.lua_ls.setup({
-- capabilities = capabilities,
-- settings = {
-- Lua = {
-- runtime = {
-- version = 'LuaJIT',
-- },
-- diagnostics = {
-- globals = { 'vim' },
-- },
-- workspace = {
-- library = vim.api.nvim_get_runtime_file("", true),
-- checkThirdParty = false
-- },
-- telemetry = {
-- enable = false,
-- },
-- format = {
-- enable = true,
-- defaultConfig = {
-- indent_style = "space",
-- indent_size = "2",
-- }
-- },
-- },
-- },
-- })
-- Lua
lsp.lua_ls.setup({
capabilities = capabilities,
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
},
diagnostics = {
globals = { 'vim' },
},
workspace = {
library = vim.api.nvim_get_runtime_file("", true),
checkThirdParty = false
},
telemetry = {
enable = false,
},
format = {
enable = true,
defaultConfig = {
indent_style = "space",
indent_size = "2",
}
},
},
},
})

-- Python
lsp.pyright.setup({
Expand Down

0 comments on commit 6899be7

Please sign in to comment.