From 5fe46303fd38d1d776100626efa8853344181715 Mon Sep 17 00:00:00 2001 From: Matt Blacker Date: Tue, 28 Oct 2025 16:51:44 +1100 Subject: [PATCH] Defaults for tab/spaces and topes plugin for this --- init.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 8131906f..d89e93f1 100644 --- a/init.lua +++ b/init.lua @@ -90,6 +90,10 @@ P.S. You can delete this when you're done too. It's your config now! :) vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true + -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = true @@ -239,7 +243,7 @@ end -- NOTE: Here is where you install your plugins. require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). - 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically + -- 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following @@ -249,7 +253,6 @@ require('lazy').setup({ -- -- This is equivalent to: -- require('Comment').setup({}) - { -- Collection of various small independent plugins/modules 'echasnovski/mini.nvim', @@ -295,7 +298,7 @@ require('lazy').setup({ -- Check out: https://github.com/echasnovski/mini.nvim end, }, - -- 'BlackLight/nvim-http', + -- 'BlackLight/nvim-http', -- "gc" to comment visual regions/lines { 'numToStr/Comment.nvim', opts = {} }, @@ -456,8 +459,8 @@ require('lazy').setup({ -- }, pickers = { find_files = { - hidden = true - } + hidden = true, + }, }, extensions = { ['ui-select'] = {