my configs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
332 B

  1. local setlocal = vim.bo
  2. -- Only do this when not done yet for this buffer
  3. if vim.b.did_indent then
  4. return
  5. end
  6. vim.b.did_indent = 1
  7. " Manual indenting and literal tabs for passwords
  8. setlocal.noautoindent= true
  9. setlocal.noexpandtab= true
  10. setlocal.softtabstop=0
  11. vim.b.undo_indent = 'setlocal autoindent< expandtab< softtabstop<'