Browse Source

Merge branch 'master' of git.xchg.sh:angrygoats/neovim-config

master
Taylor Bockman 1 year ago
parent
commit
eb39f01491
  1. 4
      lua/conf/langs/python.lua

4
lua/conf/langs/python.lua

@ -9,8 +9,8 @@ vim.api.nvim_create_autocmd(
pattern = "*.py", pattern = "*.py",
callback = function() callback = function()
local buf = vim.api.nvim_get_current_buf() local buf = vim.api.nvim_get_current_buf()
vim.api.nvim_buf_set_option(buf, "expandtab") vim.api.nvim_buf_set_option(buf, "expandtab", true)
vim.api.nvim_buf_set_option(buf, "autoindent") 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, "tabstop", 4)
vim.api.nvim_buf_set_option(buf, "softtabstop", 4) vim.api.nvim_buf_set_option(buf, "softtabstop", 4)
vim.api.nvim_buf_set_option(buf, "shiftwidth", 4) vim.api.nvim_buf_set_option(buf, "shiftwidth", 4)

Loading…
Cancel
Save