From e13477cf1a2099500f8ad1426c1f7c50cb02bb43 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 10 May 2023 01:19:50 +0300 Subject: nvim: use native nvim filetype --- .config/nvim/lua/plugin_settings.lua | 10 ---------- .config/nvim/lua/plugins.lua | 2 -- .config/nvim/lua/settings.lua | 4 ++++ 3 files changed, 4 insertions(+), 12 deletions(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index ab9d6d2..1336307 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua @@ -151,16 +151,6 @@ g.vimtex_compiler_latexmk = { -- }}} vimtex -- --- filetype.nvim {{{ -- -require('filetype').setup({ - overrides = { - literal = { - PKGBUILD = 'PKGBUILD', - }, - } -}) --- }}} filetype.nvim -- - -- ledger {{{ -- g.ledger_maxwidth = 80 g.ledger_fillstring = ' -' diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 8d1e2c4..8848528 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -87,8 +87,6 @@ return require('packer').startup(function(use) -- indent guides use "lukas-reineke/indent-blankline.nvim" - -- language packs - use "nathom/filetype.nvim" -- i3 config filetype use 'mboughaba/i3config.vim' -- ledger filetype diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index b99eda7..2418a5b 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua @@ -10,6 +10,10 @@ local wo = vim.wo -- [w]indow-local [o]ptions local bo = vim.bo -- [b]uffer-local [o]ptions local opt = vim.opt -- convenient :set +-- neovim filetype lua +vim.g.do_filetype_lua = true +vim.g.did_load_filetypes = false + -- look & feel o.termguicolors = true -- cgit v1.2.3-70-g09d2