diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 2514f9e..08cbdbb 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1,2 +1,2 @@ -- bootstrap lazy.nvim, LazyVim and your plugins -require("config.lazy") +require "config.lazy" diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index d73bfa1..871387f 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -1,7 +1,7 @@ -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim" if not (vim.uv or vim.loop).fs_stat(lazypath) then local lazyrepo = "https://github.com/folke/lazy.nvim.git" - local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) + local out = vim.fn.system { "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath } if vim.v.shell_error ~= 0 then vim.api.nvim_echo({ { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, @@ -14,7 +14,7 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then end vim.opt.rtp:prepend(lazypath) -require("lazy").setup({ +require("lazy").setup { spec = { -- add LazyVim and import its plugins { "LazyVim/LazyVim", import = "lazyvim.plugins" }, @@ -50,4 +50,4 @@ require("lazy").setup({ }, }, }, -}) +} diff --git a/.config/nvim/lua/plugins/example.lua b/.config/nvim/lua/plugins/example.lua index 17f53d6..2711544 100644 --- a/.config/nvim/lua/plugins/example.lua +++ b/.config/nvim/lua/plugins/example.lua @@ -102,7 +102,7 @@ return { setup = { -- example to setup with typescript.nvim tsserver = function(_, opts) - require("typescript").setup({ server = opts }) + require("typescript").setup { server = opts } return true end, -- Specify * to use this function as a fallback for any server diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 69a6923..61a5e35 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -94,7 +94,6 @@ config = { [[\b[k-z]{8,32}\b]], }, - leader = { key = "t", mods = "CTRL" }, keys = { { key = "t", mods = "LEADER|CTRL", action = act { SendKey = { key = "t", mods = "CTRL" } } },