Thanks Björn!

This commit is contained in:
Motiejus Jakštys 2024-05-15 16:23:19 +02:00
parent fcb4bf5390
commit 5869b8d713
2 changed files with 3 additions and 5 deletions

View File

@ -95,11 +95,6 @@ in {
]) ])
]; ];
# TODO: still detected as python :/
xdg.configFile."nvim/ftdetect/star.vim".text = ''
au BufRead,BufNewFile *.star setfiletype=python
'';
programs = lib.mkMerge [ programs = lib.mkMerge [
{ {
direnv.enable = true; direnv.enable = true;

View File

@ -1,3 +1,6 @@
vim.api.nvim_exec([[ vim.api.nvim_exec([[
set grepprg=@ripgrep@/bin/rg\ --vimgrep grepformat^=%f:%l:%c:%m set grepprg=@ripgrep@/bin/rg\ --vimgrep grepformat^=%f:%l:%c:%m
]], false) ]], false)
vim.filetype.add({
extension = { star = 'python' }})