@@ -114,9 +114,6 @@ vim.o.number = true
114114-- Enable mouse mode, can be useful for resizing splits for example!
115115vim .o .mouse = ' a'
116116
117- -- Sets the theme to dark mode
118- vim .o .background = ' dark'
119-
120117-- Don't show the mode, since it's already in the status line
121118vim .o .showmode = false
122119
@@ -191,6 +188,7 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
191188-- Diagnostic keymaps
192189vim .keymap .set (' n' , ' <leader>q' , vim .diagnostic .setloclist , { desc = ' Open diagnostic [Q]uickfix list' })
193190vim .keymap .set (' n' , ' <C-n>' , ' :Neotree<CR>' , { desc = ' Toggles Neotree' })
191+ vim .keymap .set (' n' , ' <C-t>' , ' :colorscheme theme<CR>' , { desc = ' Toggles the theme bc wow its annoying asf' })
194192-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier
195193-- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which
196194-- is not what someone will guess without a bit more experience.
@@ -255,7 +253,6 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
255253 end
256254end
257255
258-
259256--- @type vim.Option
260257local rtp = vim .opt .rtp
261258rtp :prepend (lazypath )
@@ -280,17 +277,17 @@ require('lazy').setup({
280277 config = function ()
281278 require (' lualine' ).setup {
282279 options = {
283- theme = ' tomorrow_night ' ,
280+ theme = ' ayu_light ' ,
284281 },
285282 }
286283 end ,
287284 },
288285 {
289- " mason-org/mason-lspconfig.nvim" ,
286+ ' mason-org/mason-lspconfig.nvim' ,
290287 opts = {},
291288 dependencies = {
292- { " mason-org/mason.nvim" , opts = {} },
293- " neovim/nvim-lspconfig" ,
289+ { ' mason-org/mason.nvim' , opts = {} },
290+ ' neovim/nvim-lspconfig' ,
294291 },
295292 },
296293 {
@@ -903,7 +900,7 @@ require('lazy').setup({
903900 -- <c-k>: Toggle signature help
904901 --
905902 -- See :h blink-cmp-config-keymap for defining your own keymap
906- preset = ' default ' ,
903+ preset = ' super-tab ' ,
907904
908905 -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
909906 -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
@@ -944,7 +941,7 @@ require('lazy').setup({
944941 },
945942 },
946943
947- { -- You can easily change to a different colorscheme.
944+ --[[ { -- You can easily change to a different colorscheme.
948945 -- Change the name of the colorscheme plugin below, and then
949946 -- change the command in the config to whatever the name of that colorscheme is.
950947 --
@@ -962,9 +959,10 @@ require('lazy').setup({
962959 -- Load the colorscheme here.
963960 -- Like many other themes, this one has different styles, and you could load
964961 -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
965- vim .cmd .colorscheme ' tokyonight-night '
962+ vim.cmd.colorscheme 'theme '
966963 end,
967- },
964+ },]]
965+ --
968966
969967 -- Highlight todo, notes, etc in comments
970968 { ' folke/todo-comments.nvim' , event = ' VimEnter' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
@@ -1031,7 +1029,6 @@ require('lazy').setup({
10311029 -- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context
10321030 -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
10331031 },
1034-
10351032 -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
10361033 -- init.lua. If you want these files, they are in the repository, so you can just download them and
10371034 -- place them in the correct locations.
@@ -1058,6 +1055,9 @@ require('lazy').setup({
10581055 -- Or use telescope!
10591056 -- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
10601057 -- you can continue same window with `<space>sr` which resumes last telescope search
1058+ {
1059+ dir = ' ~/AppData/Local/nvim/theme' ,
1060+ },
10611061}, {
10621062 ui = {
10631063 -- If you are using a Nerd Font: set icons to an empty table which will use the
@@ -1140,8 +1140,11 @@ require('luau-lsp').setup {
11401140 },
11411141}
11421142
1143-
1144-
1143+ vim .api .nvim_create_autocmd (' Colorscheme' , {
1144+ callback = function ()
1145+ require (' theme' ).setup ()
1146+ end ,
1147+ })
11451148
11461149-- The line beneath this is called `modeline`. See `:help modeline`
11471150-- vim: ts=2 sts=2 sw=2 et
0 commit comments