3 Commits ae93856d8f ... d896eb28df

Auteur SHA1 Message Date
  Nikita Chursin d896eb28df changed tabline colors a bit il y a 6 mois
  Nikita Chursin 27088e2b86 removed treesitter sync install il y a 6 mois
  Nikita Chursin 1d802a0b3d removed unused code il y a 6 mois

+ 1 - 1
lua/ncvim/core_plugins/highlight/treesitter/config.lua

@@ -5,7 +5,7 @@ return function()
     },
 
     -- Install parsers synchronously (only applied to `ensure_installed`)
-    sync_install = true,
+    sync_install = false,
 
     -- Automatically install missing parsers when entering buffer
     auto_install = true,

+ 2 - 17
lua/ncvim/ui/bufferline.lua

@@ -56,9 +56,9 @@ ncvim.plugin {
       return buf
     end
 
-    highlight = {
+    local highlight = {
       active = {
-        fg = function() return get_hex('WarningMsg', 'fg') end,
+        fg = function() return get_hex('Folded', 'fg') end,
         bg = function() return get_hex('Visual', 'bg') end,
       },
       inactive = {
@@ -67,8 +67,6 @@ ncvim.plugin {
       },
     }
 
-    -- print('highlight inactive bg: ' .. highlight.inactive.bg)
-
     require('cokeline').setup({
       default_hl = {
         fg = function(tabpage)
@@ -98,14 +96,6 @@ ncvim.plugin {
             local now = os.time()
             return os.date('%d.%m.%y %H:%M:%S', now)
           end,
-          -- fg = function(tabpage)
-          --   local buffer = get_tabpage_head_buffer(tabpage)
-          --   if buffer == nil then
-          --     return green
-          --   end
-          --   return
-          --       buffer.is_modified and yellow or green
-          -- end
         },
       },
 
@@ -201,10 +191,5 @@ ncvim.plugin {
         }
       },
     })
-
-    -- print("bg >> " .. highlight.inactive.bg)
-    -- vim.cmd("hi TabLineFill guibg=" .. highlight.inactive.bg)
-
-    -- vim.cmd("hi TabLineFill guibg=" .. highlight.inactive.bg)
   end
 }