update complexity after saving the buffer
Merge pull request #3 from akarzim/feature/autocmd-events

update complexity after saving the buffer