1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-04 23:40:32 +00:00

Compare commits

...

5 commits

Author SHA1 Message Date
4abaf45e30 Remove unused variable 2022-09-11 19:33:45 +02:00
854442e738 Add buffer as source for : 2022-09-11 19:33:36 +02:00
76ea921b89 Remove branch 2022-09-11 19:33:29 +02:00
6117305dfb Finally set ft for .jinja.html 2022-09-11 19:33:21 +02:00
e42a93bed7 Replace todo and remove icon-picker 2022-09-11 19:33:03 +02:00
10 changed files with 14 additions and 31 deletions

View file

@ -5,11 +5,3 @@ vim.api.nvim_create_autocmd("TextYankPost", {
vim.highlight.on_yank({ timeout = 1200 })
end,
})
-- set ft of .jinja.html files to htmldjango
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
pattern = "*.jinja.html",
callback = function()
vim.bo.filetype = "htmldjango"
end,
})

View file

@ -44,8 +44,3 @@ set("n", "<space>b", telescope_builtin.resume, opts)
-- LSP
set("n", "<space>h", vim.lsp.buf.hover, opts)
-- Icon picker
set("n", "<Leader>e", "<cmd>IconPickerNormal symbols emoji<cr>", opts)
set("n", "<Leader>y", "<cmd>IconPickerYank symbols emoji<cr>", opts)
set("i", "<C-e>", "<cmd>IconPickerInsert symbols emoji<cr>", opts)

View file

@ -45,6 +45,13 @@ o.pumblend = 10
--
o.guifont = "JetBrainsMono Nerd Font Mono"
o.shortmess = o.shortmess .. "S"
--
-- set ft of .jinja.html files to htmldjango
vim.filetype.add({
pattern = {
[".+.jinja.html"] = "htmldjango",
},
})

View file

@ -61,20 +61,12 @@ return require("packer").startup({
-- Todo-comment
use({
"AmeerTaweel/todo.nvim",
"folke/todo-comments.nvim",
requires = {
"nvim-lua/plenary.nvim",
},
})
-- Icon picker
use({
"ziontee113/icon-picker.nvim",
requires = {
"stevearc/dressing.nvim",
},
})
-- Treesitter
use({
"nvim-treesitter/nvim-treesitter",

View file

@ -1,5 +1,4 @@
local npairs = require("nvim-autopairs")
local Rule = require("nvim-autopairs.rule")
npairs.setup({
check_ts = true,

View file

@ -1,3 +0,0 @@
require("icon-picker").setup({
disable_legacy_commands = true,
})

View file

@ -153,7 +153,8 @@ cmp.setup.cmdline("/", {
-- Use cmdline & path source for ":"
cmp.setup.cmdline(":", {
sources = {
{ name = "path" },
{ name = "cmdline" },
{ name = "buffer" },
{ name = "path" },
},
})

View file

@ -18,7 +18,7 @@ require("lualine").setup({
lualine_b = { { search_count, type = "lua_expr" } },
lualine_c = { { navic.get_location, cond = navic.is_available } },
lualine_x = {},
lualine_y = { "branch" },
lualine_y = {},
lualine_z = { "filetype" },
},
})

View file

@ -0,0 +1 @@
require("todo-comments").setup()

View file

@ -1 +0,0 @@
require("todo").setup()