Skip to content

Commit

Permalink
before disaster
Browse files Browse the repository at this point in the history
  • Loading branch information
tminhvu committed Sep 6, 2023
1 parent 8661f68 commit 7c5930b
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 29 deletions.
32 changes: 16 additions & 16 deletions lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"LeetBuddy.nvim": { "branch": "main", "commit": "d73fa0a0530e5b900f9c46b6c35514a8d91d9aae" },
"LuaSnip": { "branch": "master", "commit": "e81cbe6004051c390721d8570a4a0541ceb0df10" },
"LeetBuddy.nvim": { "branch": "main", "commit": "fd689478cb192908204985e4630066074f73034c" },
"LuaSnip": { "branch": "master", "commit": "ea7d7ea510c641c4f15042becd27f35b3e5b3c2b" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
"flutter-tools.nvim": { "branch": "main", "commit": "561d85b16d8ca2938820a9c26b2fe74096d89c81" },
"gitsigns.nvim": { "branch": "main", "commit": "5d73da785a3c05fd63ac31769079db05169a6ec7" },
"gruvbox-material": { "branch": "master", "commit": "b17daceec6ed9a5fb46e0f293f2ac666c90e5459" },
"indent-blankline.nvim": { "branch": "master", "commit": "4541d690816cb99a7fc248f1486aa87f3abce91c" },
"lazy.nvim": { "branch": "main", "commit": "dac844ed617dda4f9ec85eb88e9629ad2add5e05" },
"gitsigns.nvim": { "branch": "main", "commit": "d927caa075df63bf301d92f874efb72fd22fd3b4" },
"gruvbox-material": { "branch": "master", "commit": "b5f8c6a6c1cda630c53b061b765068a0898d47a3" },
"indent-blankline.nvim": { "branch": "master", "commit": "9637670896b68805430e2f72cf5d16be5b97a22a" },
"lazy.nvim": { "branch": "main", "commit": "2a9354c7d2368d78cbd5575a51a2af5bd8a6ad01" },
"lspkind.nvim": { "branch": "master", "commit": "57610d5ab560c073c465d6faf0c19f200cb67e6e" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "e86a4c84ff35240639643ffed56ee1c4d55f538e" },
"mason.nvim": { "branch": "main", "commit": "fe9e34a9ab4d64321cdc3ecab4ea1809239bb73f" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "dfdd771b792fbb4bad8e057d72558255695aa1a7" },
"mason.nvim": { "branch": "main", "commit": "ee6a7f179ebf8aa9da9d53b1cf1b57d292ea0182" },
"neogen": { "branch": "main", "commit": "1dd0319ccf41b2498f45a3c7607f2ee325ffc6a0" },
"neoscroll.nvim": { "branch": "master", "commit": "d7601c26c8a183fa8994ed339e70c2d841253e93" },
"nvim-autopairs": { "branch": "master", "commit": "ae5b41ce880a6d850055e262d6dfebd362bb276e" },
"nvim-cmp": { "branch": "main", "commit": "c4e491a87eeacf0408902c32f031d802c7eafce8" },
"neoscroll.nvim": { "branch": "master", "commit": "4bc0212e9f2a7bc7fe7a6bceb15b33e39f0f41fb" },
"nvim-autopairs": { "branch": "master", "commit": "35493556b895f54c129918aca43ae9a63af42a1f" },
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
"nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" },
"nvim-lspconfig": { "branch": "master", "commit": "a59d74e12340242c0735666fb2e91afdbe6f2496" },
"nvim-tree.lua": { "branch": "master", "commit": "0a89dcb464b433d2d7b97a8f15d0b608c718dc13" },
"nvim-lspconfig": { "branch": "master", "commit": "499314f76fa6e8f82f7cfd116578906d61ba2560" },
"nvim-tree.lua": { "branch": "master", "commit": "5897b3622f033b1f3ea6adf8eb1c165e9f20554f" },
"nvim-treesitter": { "branch": "master", "commit": "33eb472b459f1d2bf49e16154726743ab3ca1c6d" },
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
"nvim-web-devicons": { "branch": "master", "commit": "efbfed0567ef4bfac3ce630524a0f6c8451c5534" },
"nvim-web-devicons": { "branch": "master", "commit": "bc11ee2498de2310de5776477dd9dce65d03b464" },
"one_monokai.nvim": { "branch": "main", "commit": "cb45ecb019be679e32373896bb42545818b6d884" },
"onedarker.nvim": { "branch": "master", "commit": "b4f92f073ed7cdf0358ad005cee0484411232b1b" },
"plenary.nvim": { "branch": "master", "commit": "267282a9ce242bbb0c5dc31445b6d353bed978bb" },
"plenary.nvim": { "branch": "master", "commit": "0dbe561ae023f02c2fb772b879e905055b939ce3" },
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9bc8237565ded606e6c366a71c64c0af25cd7a50" },
"telescope.nvim": { "branch": "master", "commit": "d2e17ba18a6840b7e7079764b282616c3188e0de" }
"telescope.nvim": { "branch": "master", "commit": "20a37e43bb43c74c6091f9fea6551af0964ad45a" }
}
2 changes: 1 addition & 1 deletion lua/config/diagnostics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ vim.diagnostic.config({
-- vim.diagnostic.severity.HINT
}
},
update_in_insert = false,
update_in_insert = true,
severity_sort = true,
underline = {
-- severity = {
Expand Down
19 changes: 13 additions & 6 deletions lua/config/lazy/plugins/flutter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ local M = {
open_cmd = "35vnew", -- command to use to open the outline buffer
auto_open = false -- if true this will open the outline automatically when it is first populated
},
closing_tags = {
highlight = "Comment", -- highlight for the closing tag
prefix = ">> ", -- character to use for close tag e.g. > Widget
enabled = true -- set to false to disable
},
lsp = {
on_attach = function(client, bufnr)
client.server_capabilities.semanticTokensProvider = nil
Expand All @@ -36,16 +41,18 @@ local M = {
'<cmd>lua vim.lsp.buf.format { async = true }<CR>',
opts)
end,
color = { -- show the derived colours for dart variables
enabled = true, -- whether or not to highlight color variables at all, only supported on flutter >= 2.10
background = true, -- highlight the background
color = { -- show the derived colours for dart variables
enabled = true, -- whether or not to highlight color variables at all, only supported on flutter >= 2.10
background = true, -- highlight the background
background_color = { r = 19, g = 17, b = 24 }, -- required, when background is transparent (i.e. background_color = { r = 19, g = 17, b = 24},)
foreground = false, -- highlight the foreground
virtual_text = false, -- show the highlight using virtual text
virtual_text_str = "", -- the virtual text character to highlight
foreground = false, -- highlight the foreground
virtual_text = false, -- show the highlight using virtual text
virtual_text_str = "", -- the virtual text character to highlight
},

capabilities = capabilities,
settings = {
lineLength = 120,
showTodos = true,
completeFunctionCalls = true,
--analysisExcludedFolders = { "<path-to-flutter-sdk-packages>" },
Expand Down
2 changes: 1 addition & 1 deletion lua/config/lazy/plugins/gruvbox-material.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local M = {
vim.g.gruvbox_material_better_performance = true
vim.g.gruvbox_material_enable_bold = true
vim.g.gruvbox_material_enable_italic = true
vim.g.gruvbox_material_ui_contrast = "high"
vim.g.gruvbox_material_ui_contrast = "low"
vim.g.gruvbox_material_show_eob = false
vim.g.gruvbox_material_transparent_background = false
vim.g.gruvbox_material_visual = "grey background"
Expand Down
2 changes: 1 addition & 1 deletion lua/config/lazy/plugins/one_darker.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {
'LunarVim/onedarker.nvim',
lazy = false,
lazy = true,
config = function ()
vim.cmd.colorscheme 'onedarker'

Expand Down
6 changes: 3 additions & 3 deletions lua/config/lazy/plugins/one_monokai.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
local M = {
'cpea2506/one_monokai.nvim',
lazy = true,
lazy = false,
config = function()
require('one_monokai').setup({
transparent = false,
colors = {
bg = '#18191a',
--bg = '#1F2329',
--bg = '#18191a',
bg = '#1F2329',
cline = "#282c34",
},
themes = function(colors)
Expand Down
2 changes: 1 addition & 1 deletion lua/config/lazy/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local M = {
defaults = {
selection_caret = ' > ',
file_ignore_patterns = { "^node_modules/", "^.git/", "^.cache/", "^bin/", "%.pdf", "%.mkv",
"%.mp4", "%.zip" },
"%.mp4", "%.zip", "^flutter_jank_metrics" },
previewer = true,
layout_strategy = "horizontal",
layout_config = {
Expand Down

0 comments on commit 7c5930b

Please sign in to comment.