diff --git a/init.lua b/init.lua index cbf9ff65d67..ffa4d0930ac 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] -- See `:help vim.opt` @@ -102,7 +102,7 @@ vim.g.have_nerd_font = false vim.opt.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! --- vim.opt.relativenumber = true +vim.opt.relativenumber = true -- Enable mouse mode, can be useful for resizing splits for example! vim.opt.mouse = 'a' @@ -770,7 +770,10 @@ require('lazy').setup({ -- python = { "isort", "black" }, -- -- You can use 'stop_after_first' to run the first available formatter from the list - -- javascript = { "prettierd", "prettier", stop_after_first = true }, + javascript = { 'prettier', 'prettierd', stop_after_first = true }, + javascriptreact = { 'prettier', 'prettierd', stop_after_first = true }, + typescript = { 'prettier', 'prettierd', stop_after_first = true }, + typescriptreact = { 'prettier', 'prettierd', stop_after_first = true }, }, }, }, @@ -911,7 +914,27 @@ 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-storm' + end, + }, + { + 'EdenEast/nightfox.nvim', + priority = 1000, + config = function() end, + }, + { + 'rebelot/kanagawa.nvim', + priority = 1000, + config = function() + require('kanagawa').setup { + compile = true, + } + end, + }, + { + 'p00f/alabaster.nvim', + config = function() + vim.cmd.colorscheme 'alabaster' end, }, @@ -990,18 +1013,18 @@ require('lazy').setup({ -- Here are some example plugins that I've included in the Kickstart repository. -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- - -- require 'kickstart.plugins.debug', - -- require 'kickstart.plugins.indent_line', - -- require 'kickstart.plugins.lint', - -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.debug', + require 'kickstart.plugins.indent_line', + require 'kickstart.plugins.lint', + require 'kickstart.plugins.autopairs', + require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- This is the easiest way to modularize your config. -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, -- -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec` -- Or use telescope! diff --git a/lua/custom/plugins/zig.lua b/lua/custom/plugins/zig.lua new file mode 100644 index 00000000000..ba2683a0699 --- /dev/null +++ b/lua/custom/plugins/zig.lua @@ -0,0 +1,3 @@ +return { + 'ziglang/zig.vim', +}