Added format for c files, and added git dotfiles
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[user]
|
||||
name = "Nicholas Novak"
|
||||
email = "34256932+NickyBoy89@users.noreply.github.com"
|
||||
@@ -1,6 +1,7 @@
|
||||
#font_family Source Code Pro
|
||||
#font_family Minecraft Mono
|
||||
font_family IBM Plex Mono
|
||||
#font_family IBM Plex Mono
|
||||
font_family mononoki
|
||||
font_size 16.0
|
||||
|
||||
# Gnome-shell style alt+tab number
|
||||
|
||||
@@ -37,7 +37,8 @@ require('lazy').setup({
|
||||
|
||||
-- NOTE: This is where your plugins related to LSP can be installed.
|
||||
-- The configuration is done below. Search for lspconfig to find it below.
|
||||
{ -- LSP Configuration & Plugins
|
||||
{
|
||||
-- LSP Configuration & Plugins
|
||||
'neovim/nvim-lspconfig',
|
||||
dependencies = {
|
||||
-- Automatically install LSPs to stdpath for neovim
|
||||
@@ -53,7 +54,8 @@ require('lazy').setup({
|
||||
},
|
||||
},
|
||||
|
||||
{ -- Autocompletion
|
||||
{
|
||||
-- Autocompletion
|
||||
'hrsh7th/nvim-cmp',
|
||||
dependencies = {
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
@@ -64,7 +66,8 @@ require('lazy').setup({
|
||||
|
||||
-- Useful plugin to show you pending keybinds.
|
||||
{ 'folke/which-key.nvim', opts = {} },
|
||||
{ -- Adds git releated signs to the gutter, as well as utilities for managing changes
|
||||
{
|
||||
-- Adds git releated signs to the gutter, as well as utilities for managing changes
|
||||
'lewis6991/gitsigns.nvim',
|
||||
opts = {
|
||||
-- See `:help gitsigns.txt`
|
||||
@@ -86,7 +89,8 @@ require('lazy').setup({
|
||||
end,
|
||||
},
|
||||
|
||||
{ -- Set lualine as statusline
|
||||
{
|
||||
-- Set lualine as statusline
|
||||
'nvim-lualine/lualine.nvim',
|
||||
-- See `:help lualine.txt`
|
||||
opts = {
|
||||
@@ -99,7 +103,8 @@ require('lazy').setup({
|
||||
},
|
||||
},
|
||||
|
||||
{ -- Add indentation guides even on blank lines
|
||||
{
|
||||
-- Add indentation guides even on blank lines
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
-- Enable `lukas-reineke/indent-blankline.nvim`
|
||||
-- See `:help indent_blankline.txt`
|
||||
@@ -128,7 +133,8 @@ require('lazy').setup({
|
||||
end,
|
||||
},
|
||||
|
||||
{ -- Highlight, edit, and navigate code
|
||||
{
|
||||
-- Highlight, edit, and navigate code
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||
@@ -218,6 +224,11 @@ vim.api.nvim_create_autocmd('BufWritePre', {
|
||||
group = autoformats,
|
||||
pattern = { '*.cs' },
|
||||
})
|
||||
vim.api.nvim_create_autocmd('BufWritePre', {
|
||||
command = 'FormatCode',
|
||||
group = autoformats,
|
||||
pattern = { '*.c' },
|
||||
})
|
||||
|
||||
-- Filetype Detection
|
||||
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "f388995990aba04cfdc7c3ab870c33e280601109" },
|
||||
"gruvbox": { "branch": "master", "commit": "bf2885a95efdad7bd5e4794dd0213917770d79b7" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "5694483e8782f4d9a01ea8822166998924df5f00" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "57cce98dfdb2f2dd05a0567d89811e6d0505e13b" },
|
||||
"lean.nvim": { "branch": "main", "commit": "f69875f98317c11fd48c4c4a8166a408244b7fe8" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "3f9c0ea157e88b08e2d11ec65002eeb6e421f0da" },
|
||||
|
||||
Reference in New Issue
Block a user