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.
 
 
 
 
 
 

13 lines
329 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 CSVs
  8. setlocal.autoindent = false
  9. setlocal.expandtab = false
  10. setlocal.softtabstop = 0
  11. vim.b.undo_indent = "setlocal autoindent< expandtab< softtabstop<"