Compare commits

...

2 Commits

Author SHA1 Message Date
Taylor Bockman a52ef57538 Merge branch 'master' of git.xchg.sh:angrygoats/neovim-config 10 months ago
Taylor Bockman 37cd64f97d Update python so it works 10 months ago
  1. 12
      lua/conf/langs/python.lua

12
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
}
)

Loading…
Cancel
Save