Skip to content

Commit

Permalink
update nvim config
Browse files Browse the repository at this point in the history
  • Loading branch information
omarluq committed Nov 25, 2024
1 parent 4b43597 commit b0221c3
Show file tree
Hide file tree
Showing 31 changed files with 783 additions and 214 deletions.
2 changes: 1 addition & 1 deletion .config/nvim/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 1 addition & 1 deletion .config/nvim/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 💤 LazyVim

A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
2 changes: 1 addition & 1 deletion .config/nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
require("config.lazy")
196 changes: 110 additions & 86 deletions .config/nvim/lazy-lock.json

Large diffs are not rendered by default.

85 changes: 52 additions & 33 deletions .config/nvim/lazyvim.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,54 @@
{
"extras": [
"lazyvim.plugins.extras.dap.core",
"lazyvim.plugins.extras.test.core",
"lazyvim.plugins.extras.coding.copilot",
"lazyvim.plugins.extras.coding.native_snippets",
"lazyvim.plugins.extras.dap.nlua",
"lazyvim.plugins.extras.editor.navic",
"lazyvim.plugins.extras.formatting.prettier",
"lazyvim.plugins.extras.lang.docker",
"lazyvim.plugins.extras.lang.go",
"lazyvim.plugins.extras.lang.helm",
"lazyvim.plugins.extras.lang.json",
"lazyvim.plugins.extras.lang.markdown",
"lazyvim.plugins.extras.lang.python",
"lazyvim.plugins.extras.lang.ruby",
"lazyvim.plugins.extras.lang.rust",
"lazyvim.plugins.extras.lang.tailwind",
"lazyvim.plugins.extras.lang.terraform",
"lazyvim.plugins.extras.lang.typescript",
"lazyvim.plugins.extras.lang.yaml",
"lazyvim.plugins.extras.linting.eslint",
"lazyvim.plugins.extras.lsp.none-ls",
"lazyvim.plugins.extras.ui.edgy",
"lazyvim.plugins.extras.ui.mini-animate",
"lazyvim.plugins.extras.util.dot",
"lazyvim.plugins.extras.util.gitui",
"lazyvim.plugins.extras.editor.aerial",
"lazyvim.plugins.extras.editor.outline"
],
"news": {
"NEWS.md": "5204"
},
"version": 6
"extras": [
"lazyvim.plugins.extras.ai.copilot",
"lazyvim.plugins.extras.coding.luasnip",
"lazyvim.plugins.extras.coding.mini-surround",
"lazyvim.plugins.extras.coding.native_snippets",
"lazyvim.plugins.extras.coding.neogen",
"lazyvim.plugins.extras.coding.yanky",
"lazyvim.plugins.extras.dap.core",
"lazyvim.plugins.extras.dap.nlua",
"lazyvim.plugins.extras.editor.aerial",
"lazyvim.plugins.extras.editor.dial",
"lazyvim.plugins.extras.editor.illuminate",
"lazyvim.plugins.extras.editor.inc-rename",
"lazyvim.plugins.extras.editor.navic",
"lazyvim.plugins.extras.editor.outline",
"lazyvim.plugins.extras.editor.overseer",
"lazyvim.plugins.extras.editor.refactoring",
"lazyvim.plugins.extras.editor.telescope",
"lazyvim.plugins.extras.formatting.prettier",
"lazyvim.plugins.extras.lang.docker",
"lazyvim.plugins.extras.lang.elixir",
"lazyvim.plugins.extras.lang.git",
"lazyvim.plugins.extras.lang.go",
"lazyvim.plugins.extras.lang.helm",
"lazyvim.plugins.extras.lang.json",
"lazyvim.plugins.extras.lang.markdown",
"lazyvim.plugins.extras.lang.python",
"lazyvim.plugins.extras.lang.ruby",
"lazyvim.plugins.extras.lang.rust",
"lazyvim.plugins.extras.lang.sql",
"lazyvim.plugins.extras.lang.tailwind",
"lazyvim.plugins.extras.lang.terraform",
"lazyvim.plugins.extras.lang.toml",
"lazyvim.plugins.extras.lang.typescript",
"lazyvim.plugins.extras.lang.yaml",
"lazyvim.plugins.extras.linting.eslint",
"lazyvim.plugins.extras.lsp.none-ls",
"lazyvim.plugins.extras.test.core",
"lazyvim.plugins.extras.ui.edgy",
"lazyvim.plugins.extras.ui.mini-animate",
"lazyvim.plugins.extras.ui.treesitter-context",
"lazyvim.plugins.extras.util.dot",
"lazyvim.plugins.extras.util.gitui",
"lazyvim.plugins.extras.util.mini-hipatterns",
"lazyvim.plugins.extras.util.octo",
"lazyvim.plugins.extras.util.project",
"lazyvim.plugins.extras.util.startuptime"
],
"news": {
"NEWS.md": "7429"
},
"version": 7
}
3 changes: 3 additions & 0 deletions .config/nvim/lua/config/autocmds.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
3 changes: 3 additions & 0 deletions .config/nvim/lua/config/keymaps.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ require("lazy").setup({
},
},
},
})
})
3 changes: 3 additions & 0 deletions .config/nvim/lua/config/options.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
22 changes: 22 additions & 0 deletions .config/nvim/lua/plugins/blame.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
return {
"FabijanZulj/blame.nvim",
opts = {
blame_options = { "-w" },
},
keys = {
{
"<leader>cb",
function()
vim.cmd([[BlameToggle virtual]])
end,
desc = "Toggle git blame (virtual)",
},
{
"<leader>cB",
function()
vim.cmd([[BlameToggle window]])
end,
desc = "Toggle git blame (window)",
},
},
}
5 changes: 5 additions & 0 deletions .config/nvim/lua/plugins/colorscheme.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
return {
"folke/tokyonight.nvim",
lazy = true,
opts = { style = "storm" },
}
10 changes: 10 additions & 0 deletions .config/nvim/lua/plugins/disabled.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
return {
{
"nvim-lspconfig",
opts = {
diagnostics = {
virtual_text = false,
},
},
},
}
Loading

0 comments on commit b0221c3

Please sign in to comment.