diff options
author | Yigit Sever | 2023-05-10 01:19:50 +0300 |
---|---|---|
committer | Yigit Sever | 2023-05-10 01:19:50 +0300 |
commit | e13477cf1a2099500f8ad1426c1f7c50cb02bb43 (patch) | |
tree | af3f04a2222ab222942a2e049bfbe6576b21accc | |
parent | 657aca20033e48b90514e2ec18e8a3dea03467db (diff) | |
download | dotfiles-e13477cf1a2099500f8ad1426c1f7c50cb02bb43.tar.gz dotfiles-e13477cf1a2099500f8ad1426c1f7c50cb02bb43.tar.bz2 dotfiles-e13477cf1a2099500f8ad1426c1f7c50cb02bb43.zip |
nvim: use native nvim filetype
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 10 | ||||
-rw-r--r-- | .config/nvim/lua/plugins.lua | 2 | ||||
-rw-r--r-- | .config/nvim/lua/settings.lua | 4 |
3 files changed, 4 insertions, 12 deletions
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 = { | |||
151 | 151 | ||
152 | -- }}} vimtex -- | 152 | -- }}} vimtex -- |
153 | 153 | ||
154 | -- filetype.nvim {{{ -- | ||
155 | require('filetype').setup({ | ||
156 | overrides = { | ||
157 | literal = { | ||
158 | PKGBUILD = 'PKGBUILD', | ||
159 | }, | ||
160 | } | ||
161 | }) | ||
162 | -- }}} filetype.nvim -- | ||
163 | |||
164 | -- ledger {{{ -- | 154 | -- ledger {{{ -- |
165 | g.ledger_maxwidth = 80 | 155 | g.ledger_maxwidth = 80 |
166 | g.ledger_fillstring = ' -' | 156 | 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) | |||
87 | -- indent guides | 87 | -- indent guides |
88 | use "lukas-reineke/indent-blankline.nvim" | 88 | use "lukas-reineke/indent-blankline.nvim" |
89 | 89 | ||
90 | -- language packs | ||
91 | use "nathom/filetype.nvim" | ||
92 | -- i3 config filetype | 90 | -- i3 config filetype |
93 | use 'mboughaba/i3config.vim' | 91 | use 'mboughaba/i3config.vim' |
94 | -- ledger filetype | 92 | -- 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 | |||
10 | local bo = vim.bo -- [b]uffer-local [o]ptions | 10 | local bo = vim.bo -- [b]uffer-local [o]ptions |
11 | local opt = vim.opt -- convenient :set | 11 | local opt = vim.opt -- convenient :set |
12 | 12 | ||
13 | -- neovim filetype lua | ||
14 | vim.g.do_filetype_lua = true | ||
15 | vim.g.did_load_filetypes = false | ||
16 | |||
13 | -- look & feel | 17 | -- look & feel |
14 | o.termguicolors = true | 18 | o.termguicolors = true |
15 | 19 | ||