aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2024-03-20 04:34:27 +0200
committeromagdy7 <omar.professional8777@gmail.com>2024-03-20 04:34:27 +0200
commit5472fd5f42120237c4cc6c09e4884ef77bdf7683 (patch)
tree3b66624db9407769d9447ecd3781fb4d354e4d84 /nvim
parente0bd28ee2886e14119208b3a05e0dd48fb3531ae (diff)
downloaddotfiles-5472fd5f42120237c4cc6c09e4884ef77bdf7683.tar.xz
dotfiles-5472fd5f42120237c4cc6c09e4884ef77bdf7683.zip
Migrated to alcritty.toml + added helplful aliases for exiting vim to neovim
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/lazy-lock.json1
-rw-r--r--nvim/.config/nvim/lua/plugins/main.lua (renamed from nvim/.config/nvim/lua/plugins/example.lua)38
2 files changed, 9 insertions, 30 deletions
diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json
index e883f57..0bbf1f1 100644
--- a/nvim/.config/nvim/lazy-lock.json
+++ b/nvim/.config/nvim/lazy-lock.json
@@ -47,6 +47,7 @@
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1277b4a1f451b0f18c0790e1a7f12e1e5fdebfee" },
"nvim-web-devicons": { "branch": "master", "commit": "a1425903ab52a0a0460622519e827f224e5b4fee" },
"oil.nvim": { "branch": "master", "commit": "24027ed8d7f3ee5c38cfd713915e2e16d89e79b3" },
+ "onedark": { "branch": "master", "commit": "1230aaf2a427b2c5b73aba6e4a9a5881d3e69429" },
"persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" },
"plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" },
"rose-pine": { "branch": "main", "commit": "92762f4fa2144c05db760ea254f4c399a56a7ef5" },
diff --git a/nvim/.config/nvim/lua/plugins/example.lua b/nvim/.config/nvim/lua/plugins/main.lua
index a61c1b9..c3a62ed 100644
--- a/nvim/.config/nvim/lua/plugins/example.lua
+++ b/nvim/.config/nvim/lua/plugins/main.lua
@@ -10,7 +10,13 @@
-- * override the configuration of LazyVim plugins
return {
-- add gruvbox
- { "ellisonleao/gruvbox.nvim" },
+ { "ellisonleao/gruvbox.nvim"},
+ -- Using Packer
+ { 'navarasu/onedark.nvim' , name = 'onedark',
+ opts = {
+ style = 'deep', transparent= true
+ }
+ },
{ 'rose-pine/neovim', name = 'rose-pine',
opts = {
@@ -72,6 +78,7 @@ return {
{
"LazyVim/LazyVim",
opts = {
+ -- colorscheme = "onedark",
colorscheme = "material-deep-ocean",
-- colorscheme = "tokyonight-night",
},
@@ -164,35 +171,6 @@ return {
},
},
- -- add pyright to lspconfig
- {
- "neovim/nvim-lspconfig",
- keys = {
- {
- "gl",
- function()
- local float = vim.diagnostic.config().float
-
- if float then
- local config = type(float) == "table" and float or {}
- config.scope = "line"
-
- vim.diagnostic.open_float(config)
- end
- end,
- "Show line diagnostics",
- },
- desc = "Lsp",
- },
- ---@class PluginLspOpts
- opts = {
- ---@type lspconfig.options
- servers = {
- -- pyright will be automatically installed with mason and loaded with lspconfig
- pyright = {},
- },
- },
- },
-- add tsserver and setup with typescript.nvim instead of lspconfig
{