fixed up my todo app to be even more robust + aliases for todo
This commit is contained in:
@@ -6,3 +6,12 @@ vim.o.clipboard = "unnamedplus"
|
||||
vim.cmd [[highlight Normal guibg=NONE ctermbg=NONE]]
|
||||
vim.cmd [[highlight NormalNC guibg=NONE ctermbg=NONE]]
|
||||
vim.cmd [[highlight EndOfBuffer guibg=NONE ctermbg=NONE]]
|
||||
|
||||
vim.api.nvim_create_autocmd("BufRead", {
|
||||
pattern = "*",
|
||||
callback = function()
|
||||
if vim.fn.getline(1):match("^#!.*/python") then
|
||||
vim.bo.filetype = "python"
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user