Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed ghost text indenting when expandtab is on
  • Loading branch information
m18coppola committed Oct 22, 2024
commit b81721b523149b7c9c6a9f4afccfb0aad86554a4
4 changes: 1 addition & 3 deletions examples/llama.vim
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ function! s:get_indent(str)
let l:count = 0
for i in range(len(a:str))
if a:str[i] == "\t"
let l:count += &shiftwidth - 1
elseif a:str[i] == " "
let l:count += 1
let l:count += &tabstop - 1
else
break
endif
Expand Down