Skip to content

Commit

Permalink
Remove unused highlight toggle commmand.
Browse files Browse the repository at this point in the history
  • Loading branch information
miltonllera committed Apr 21, 2023
1 parent 6cc8892 commit 7ebf1e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/commands.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
-- Define commands

-- Toggle highlight
-- vim.cmd([[command! HiLiToggle (g:hlsearch ? ':nohls' : ':set hls')]])

-- Remove trailing whitespaces
-- (if a file requires trailing spaces, exclude its type using the regex)
vim.cmd [[autocmd BufWritePre * %s/\s\+$//e ]]
Expand Down

0 comments on commit 7ebf1e9

Please sign in to comment.