-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
119 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div> | ||
<h2> | ||
<slot/> | ||
</h2> | ||
</div> | ||
|
||
<style> | ||
div { | ||
padding: 1em; | ||
text-align: center; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class="table-of-contents"> | ||
<h3>Table of Contents</h3> | ||
<slot /> | ||
</div> | ||
|
||
<style> | ||
.table-of-contents { | ||
background-color: #141519; | ||
padding: 2em; | ||
width: 100vw; | ||
border-top-left-radius: 2em; | ||
border-bottom-left-radius: 2em; | ||
} | ||
.table-of-contents h3 { | ||
text-align: center; | ||
} | ||
.table-of-contents li { | ||
list-style: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<section class="main-content"> | ||
<slot /> | ||
</section> | ||
|
||
<style> | ||
.main-content { | ||
background-color: #18191f; | ||
margin: 1em; | ||
border-radius: 2em; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<script> | ||
import Header from '../../lib/Blog/Header.svelte'; | ||
import TableOfContents from '../../lib/Blog/TableOfContents.svelte'; | ||
import ContentRect from '../../lib/ContentRect.svelte'; | ||
</script> | ||
|
||
<Header>Setting up NeoVim for Godot</Header> | ||
<ContentRect> | ||
<div class="content"> | ||
<TableOfContents> | ||
<ul> | ||
<li>1. asdfasdfasdfasdf</li> | ||
<li>2. asdfasdfasdfasdf</li> | ||
<li>3. asdfasdfasdfasdf</li> | ||
<li>4. asdfasdfasdfasdf</li> | ||
</ul> | ||
</TableOfContents> | ||
<div class="blog-text"> | ||
Recently I’ve been using Godot a bit to mess around with game development and I wanted to have | ||
autocompletion working with CoC. I looked around and there were no extensions for the Godot | ||
LSP. So, to use Godot with NeoVim I just had to connect to their LSP. Setting Up If you have | ||
CoC working correctly already, open NeoVim and run :CocConfig, it’ll open the configuration | ||
file for your CoC, then just add this to the JSON config: Additional steps You probably want | ||
syntax highlighting, for that you have 2 options: you could install the sheerun/vim-polyglot | ||
or use habamax/vim-godot (which provides syntax highlighting as well as a set of commands | ||
allows you to run scenes through NeoVim). Setting up the editor | ||
</div> | ||
</div> | ||
</ContentRect> | ||
|
||
<style> | ||
.content { | ||
display: flex; | ||
gap: 2em; | ||
} | ||
.blog-text { | ||
padding: 3em; | ||
} | ||
</style> |