From 37cd64f97dd41a207e90be16c7f2a8905dd34582 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Thu, 20 Jul 2023 11:08:38 -0700 Subject: [PATCH] Update python so it works --- lua/conf/langs/python.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lua/conf/langs/python.lua b/lua/conf/langs/python.lua index 29c5aad..a9d6df0 100644 --- a/lua/conf/langs/python.lua +++ b/lua/conf/langs/python.lua @@ -8,12 +8,12 @@ vim.api.nvim_create_autocmd( { pattern = "*.py", callback = function() - local buf = vim.api.nvim_get_current_buf() - vim.api.nvim_buf_set_option(buf, "expandtab") - vim.api.nvim_buf_set_option(buf, "autoindent") - vim.api.nvim_buf_set_option(buf, "tabstop", 4) - vim.api.nvim_buf_set_option(buf, "softtabstop", 4) - vim.api.nvim_buf_set_option(buf, "shiftwidth", 4) + local buf = vim.api.nvim_get_current_buf() + vim.api.nvim_buf_set_option(buf, "expandtab", true) + vim.api.nvim_buf_set_option(buf, "autoindent", true) + vim.api.nvim_buf_set_option(buf, "tabstop", 4) + vim.api.nvim_buf_set_option(buf, "softtabstop", 4) + vim.api.nvim_buf_set_option(buf, "shiftwidth", 4) end } )