summaryrefslogtreecommitdiff
path: root/lua/config/set.lua
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-12-26 21:17:25 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-12-26 21:17:25 -0600
commit5003540c1ebfa04c784d619fb25dcdc80bfaa3c6 (patch)
tree724a2dc4361b2ed50b46f28ae6b1ca401cc87444 /lua/config/set.lua
parent2b3fbe7925a24ac4569ea4bd2d5c4069feb6f81f (diff)
chore: remove unnecessary stuff, tidy up config
Diffstat (limited to 'lua/config/set.lua')
-rw-r--r--lua/config/set.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/lua/config/set.lua b/lua/config/set.lua
index 3793a22..1f4d774 100644
--- a/lua/config/set.lua
+++ b/lua/config/set.lua
@@ -38,21 +38,6 @@ vim.opt.foldexpr='nvim_treesitter#foldexpr()'
-- Disable folding at startup.
vim.nofoldenable=true
--- 4 spaces for tab indentation
--- not needed, using https://EditorConfig.org instead for 'tpope/vim-sleuth'
--- vim.api.nvim_create_autocmd({'FileType', 'BufEnter', 'BufNewFile', 'BufRead'}, {
--- pattern = { '*.py' },
--- callback = function()
--- vim.cmd[[filetype plugin indent on]]
--- -- show existing tab with 4 spaces width
--- vim.tabstop=4
--- -- when indenting with '>', use 4 spaces width
--- vim.shiftwidth=4
--- -- on pressing tab, insert 4 spaces
--- vim.expandtab=true
--- end
--- })
-
-- Highlight on yank
local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })
vim.api.nvim_create_autocmd('TextYankPost', {