Skip to content

Instantly share code, notes, and snippets.

View Lamarcke's full-sized avatar
💭
"With experience comes perspective"

Cássio Lamarck Lamarcke

💭
"With experience comes perspective"
View GitHub Profile
@Lamarcke
Lamarcke / lualine.lua
Last active July 23, 2024 17:52
Lualine config for LSP clients, formatters and linters
-- Returns a string with a list of attached LSP clients, including
-- formatters and linters from null-ls, nvim-lint and formatter.nvim
local function get_attached_clients()
local buf_clients = vim.lsp.get_active_clients({ bufnr = 0 })
if #buf_clients == 0 then
return "LSP Inactive"
end
local buf_ft = vim.bo.filetype
@Lamarcke
Lamarcke / docker-build.yml
Created July 12, 2023 23:21
Create Docker Image on Push
name: Docker Build
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: read
packages: write