починил форматирование и добавил определение типа файла .log как json

This commit is contained in:
2023-02-23 01:29:44 +10:00
parent 967952b41b
commit 422e3d1079
5 changed files with 67 additions and 46 deletions

5
ftdetect/log.lua Normal file
View File

@@ -0,0 +1,5 @@
-- Инициализация настроек для файлов с типом ".log"
vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufRead' }, {
pattern = '*.log',
command = 'set filetype=json'
})