deleted some themes
This commit is contained in:
parent
8d05a545d1
commit
ed9ef123c1
35
init.lua
35
init.lua
|
@ -25,7 +25,7 @@ What is Kickstart?
|
|||
Kickstart.nvim is *not* a distribution.
|
||||
|
||||
Kickstart.nvim is a starting point for your own configuration.
|
||||
The goal is that you can read every line of code, top-to-bottom, understand
|
||||
/// goal is that you can read every line of code, top-to-bottom, understand
|
||||
what your configuration is doing, and modify it to suit your needs.
|
||||
|
||||
Once you've done that, you can start exploring, configuring and tinkering to
|
||||
|
@ -94,7 +94,14 @@ P.S. You can delete this when you're done too. It's your config now! :)
|
|||
|
||||
-- vim.api.nvim_set_hl(0, 'ReturnKeyword', { fg = '#FF0000', bold = true })
|
||||
-- vim.cmd [[syntax match ReturnKeyword /\<return\>/]]
|
||||
|
||||
--
|
||||
--AUTO RELOAD ON SAVE
|
||||
vim.api.nvim_create_autocmd('BufWritePost', {
|
||||
pattern = '*', -- For all files
|
||||
callback = function()
|
||||
vim.cmd [[silent edit]] -- Reload the buffer silently
|
||||
end,
|
||||
})
|
||||
-- Your existing Neovim configurations..
|
||||
vim.opt.autoread = true
|
||||
vim.cmd 'autocmd VimResume * checktime'
|
||||
|
@ -123,6 +130,7 @@ vim.api.nvim_create_autocmd({ 'FileChangedShellPost' }, {
|
|||
-- end,
|
||||
-- })
|
||||
--
|
||||
--
|
||||
-- -- Notification after file change
|
||||
-- vim.api.nvim_create_autocmd('FileChangedShellPost', {
|
||||
-- callback = function()
|
||||
|
@ -131,14 +139,14 @@ vim.api.nvim_create_autocmd({ 'FileChangedShellPost' }, {
|
|||
-- })
|
||||
|
||||
vim.lsp.inlay_hint.enable()
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.softtabstop = 2
|
||||
-- vim.opt.tabstop = 2
|
||||
-- vim.opt.shiftwidth = 2
|
||||
-- vim.opt.softtabstop = 2
|
||||
vim.opt.expandtab = true
|
||||
-- Function to toggle transparency
|
||||
function ToggleTransparency()
|
||||
if vim.g.transparency_enabled then
|
||||
vim.cmd 'hi Normal guibg=#000000 ctermbg=NONE' -- Replace with your preferred background color
|
||||
vim.cmd 'hi Normal guibg=NONE ctermbg=NONE' -- Replace with your preferred background color
|
||||
vim.cmd 'hi NormalNC guibg=#000000 ctermbg=NONE' -- Replace with your preferred background color
|
||||
vim.g.transparency_enabled = false
|
||||
else
|
||||
|
@ -188,9 +196,14 @@ vim.api.nvim_set_keymap('i', '<C-f>', '<ESC>^', { noremap = true })
|
|||
vim.api.nvim_set_keymap('i', '<C-M-p>', '<ESC>opi', { noremap = true })
|
||||
vim.api.nvim_set_keymap('i', '<C-M-P>', '<ESC>oPi', { noremap = true })
|
||||
-- Block cursor
|
||||
vim.opt.guicursor =
|
||||
'n-v-c:block,i-ci-ve:block,r-cr:hor20,o:hor50,i-ci-ve:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175'
|
||||
-- vim.opt.guicursor = 'n-v-c:block,i:block-blinkwait700-blinkoff400-blinkon250,sm:block'
|
||||
-- vim.opt.guicursor = 'n-v-c:block,i:ver25-blinkon250-blinkoff400-blinkwait700,r:hor20,o:hor50,sm:block-blinkwait175-blinkoff150-blinkon175'
|
||||
|
||||
vim.api.nvim_create_autocmd('VimEnter', {
|
||||
callback = function()
|
||||
vim.opt.guicursor = 'n-v-c:ver90,i:block-blinkwait400-blinkoff200-blinkon250,sm:block'
|
||||
end,
|
||||
})
|
||||
--------------------------------------------------------------------
|
||||
|
||||
if vim.fn.has 'termguicolors' == 1 then
|
||||
|
@ -718,7 +731,7 @@ require('lazy').setup({
|
|||
-- https://github.com/pmizio/typescript-tools.nvim
|
||||
--
|
||||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||
ts_ls = {},
|
||||
-- ts_ls = {},
|
||||
--
|
||||
|
||||
lua_ls = {
|
||||
|
@ -933,9 +946,9 @@ require('lazy').setup({
|
|||
-- Load the colorscheme here.
|
||||
-- Like many other themes, this one has different styles, and you could load
|
||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||
vim.cmd.colorscheme 'tokyonight-night'
|
||||
-- vim.cmd.colorscheme 'tokyonight-night'
|
||||
-- vim.cmd.colorscheme 'kanagawa'
|
||||
-- vim.cmd.colorscheme 'material-palenight'
|
||||
vim.cmd.colorscheme 'material-palenight'
|
||||
-- vim.cmd.colorscheme 'obscure'
|
||||
-- vim.cmd.colorscheme 'rose-pine'
|
||||
-- You can configure highlights by doing something like:
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
return {
|
||||
'okuuva/auto-save.nvim',
|
||||
version = '^1.0.0', -- see https://devhints.io/semver, alternatively use '*' to use the latest tagged release
|
||||
cmd = 'ASToggle', -- optional for lazy loading on command
|
||||
event = { 'InsertLeave', 'TextChanged' }, -- optional for lazy loading on trigger events
|
||||
opts = {
|
||||
-- your config goes here
|
||||
-- or just leave it empty :)
|
||||
enabled = true, -- start auto-save when the plugin is loaded (i.e. when your package manager loads it)
|
||||
trigger_events = { -- See :h events
|
||||
immediate_save = { 'BufLeave', 'FocusLost', 'QuitPre', 'VimSuspend' }, -- vim events that trigger an immediate save
|
||||
defer_save = { 'InsertLeave', 'TextChanged' }, -- vim events that trigger a deferred save (saves after `debounce_delay`)
|
||||
cancel_deferred_save = { 'InsertEnter' }, -- vim events that cancel a pending deferred save
|
||||
},
|
||||
-- function that takes the buffer handle and determines whether to save the current buffer or not
|
||||
-- return true: if buffer is ok to be saved
|
||||
-- return false: if it's not ok to be saved
|
||||
-- if set to `nil` then no specific condition is applied
|
||||
condition = nil,
|
||||
write_all_buffers = false, -- write all buffers when the current one meets `condition`
|
||||
noautocmd = false, -- do not execute autocmds when saving
|
||||
lockmarks = false, -- lock marks when saving, see `:h lockmarks` for more details
|
||||
debounce_delay = 1000, -- delay after which a pending save is executed
|
||||
-- log debug messages to 'auto-save.log' file in neovim cache directory, set to `true` to enable
|
||||
debug = false,
|
||||
},
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
return {
|
||||
'ayu-theme/ayu-vim', -- or other package manager
|
||||
config = function()
|
||||
vim.o.termguicolors = true -- enable true colors support
|
||||
local ayucolor = 'light' -- for light version of theme
|
||||
-- local ayucolor = 'mirage' -- for mirage version of theme
|
||||
-- local ayucolor = 'dark' -- for dark version of theme
|
||||
end,
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
return -- Using lazy.nvim
|
||||
{
|
||||
'ribru17/bamboo.nvim',
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('bamboo').setup {
|
||||
-- optional configuration here
|
||||
}
|
||||
end,
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
return { 'sixfourtwelve/bore.vim' }
|
|
@ -1 +0,0 @@
|
|||
return { 'catppuccin/nvim', name = 'catppuccin', priority = 1000 }
|
|
@ -1,8 +0,0 @@
|
|||
return {
|
||||
'scottmckendry/cyberdream.nvim',
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
options = {
|
||||
theme = 'auto', -- "auto" will set the theme dynamically based on the colorscheme
|
||||
},
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
return { 'water-sucks/darkrose.nvim' }
|
|
@ -1 +0,0 @@
|
|||
return { 'whatyouhide/vim-gotham' }
|
|
@ -1 +0,0 @@
|
|||
return {'Love-Pengy/lillilac.nvim'}
|
|
@ -1 +0,0 @@
|
|||
return { 'mellow-theme/mellow.nvim' }
|
|
@ -1,8 +0,0 @@
|
|||
return {
|
||||
'xero/miasma.nvim',
|
||||
-- lazy = false,
|
||||
-- priority = 1000,
|
||||
-- config = function()
|
||||
-- vim.cmd 'colorscheme miasma'
|
||||
-- end,
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
-- theme
|
||||
return { 'franbach/miramare' }
|
|
@ -1 +0,0 @@
|
|||
return { 'EdenEast/nightfox.nvim' }
|
|
@ -1 +0,0 @@
|
|||
return { 'nvimdev/oceanic-material' }
|
|
@ -1 +0,0 @@
|
|||
return { 'austinliuigi/smoke.nvim' }
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
'deparr/tairiki.nvim',
|
||||
lazy = false,
|
||||
priority = 1000, -- only necessary if you use tairiki as default theme
|
||||
config = function()
|
||||
require('tairiki').setup {
|
||||
style = 'dark',
|
||||
}
|
||||
end,
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
return {
|
||||
'pmizio/typescript-tools.nvim',
|
||||
dependencies = { 'nvim-lua/plenary.nvim', 'neovim/nvim-lspconfig' },
|
||||
opts = {},
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
return { 'adigitoleo/vim-mellow' }
|
|
@ -0,0 +1 @@
|
|||
return { 'mg979/vim-visual-multi', branch = 'master' }
|
|
@ -102,7 +102,7 @@ return {
|
|||
executable = {
|
||||
command = 'node',
|
||||
-- Update the path below to point to your `dapDebugServer.js`
|
||||
args = { '/home/tawfeeq/.config/nvim/.debuggers/vscode-js-debug/js-debug/src/dapDebugServer.js', '${port}' },
|
||||
args = { '/home/tawfeeq/.config/nvim/debuggers/vscode-js-debug/js-debug/src/dapDebugServer.js', '${port}' },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue